Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



321 posts

Ultimate Geek


Topic # 36781 1-Jul-2009 13:18 Send private message

There is a search bar that is in the same line as the navigation toolbar in Firefox.   It defaults to Google search but it has a drop down to select other search engines (not that I use any of them).

Anyone know if it is possible to set the Google serach to search New Zealand (as this is what most of our searches seem to be).  The default is that it searches the whole interwebs.

Thanks





.....c'mon sucker lick my battery........
binary solo...0000110000110000111...

Create new topic
1 post

Wannabe Geek


  Reply # 229934 1-Jul-2009 13:40 Send private message

There's a magnifying glass on the far right hand end of the google search bar in FF3.5.  If you select that it brings-up a new window for Google with the NZ search option as usual.
I'm unaware of how else you can make the google search just NZ sites direct from the search toolbar though.

On another topic (ouch..) having upgraded to FF3.5 the only site that doesn't open is www.news.bbc.co.uk; all other web pages open...does it open for you?
Cheers

mdf

95 posts

Master Geek


  Reply # 229939 1-Jul-2009 14:00 Send private message

Off topic, but no "www" for BBC news, just http://news.bbc.co.uk


43 posts

Geek


  Reply # 229950 1-Jul-2009 14:39 Send private message

You'll find a file in C:\Program Files\Mozilla Firefox\searchplugins called "google.xml"
Open it in a text editor, and you'll see
template="http://www.google.com/search"

change that to " .co.nz/search"

Save and restart firefox. Hopefully that does the trick



321 posts

Ultimate Geek


  Reply # 229958 1-Jul-2009 14:55 Send private message

MG1976: You'll find a file in C:\Program Files\Mozilla Firefox\searchplugins called "google.xml"

Open it in a text editor, and you'll see

template="http://www.google.com/search"



change that to " .co.nz/search"



Save and restart firefox. Hopefully that does the trick


It search on google.co.nz even with the template ="http://www.google.com/search"


What I was after (I wasnt clear enough) was for the search to default to "Pages from New Zealand"





.....c'mon sucker lick my battery........
binary solo...0000110000110000111...

43 posts

Geek


  Reply # 229975 1-Jul-2009 15:59 Send private message

OK, what you need to do is add the following parameter:

  <Param name="cr" value="countryNZ"/>

Something else to be aware of, when you upgrade Firefox this file will get overwritten. You may want to create a new XML and call it Google NZ or similar



321 posts

Ultimate Geek


  Reply # 229980 1-Jul-2009 16:02 Send private message

cool, thanks...I will try that




.....c'mon sucker lick my battery........
binary solo...0000110000110000111...



321 posts

Ultimate Geek


  Reply # 230002 1-Jul-2009 16:41 Send private message

Not having any luck



here is what I did (i also tried putting the line in slightly different places also)

<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;hl={moz:locale}&amp;q={searchTerms}" />
  <Url type="text/html" method="GET" template="http://www.google.co.nz/search">
    <Param name="q" value="{searchTerms}" />
    <Param name="ie" value="utf-8" />
    <Param name="oe" value="utf-8" />
    <Param name="aq" value="t" />   
    <!-- Dynamic parameters -->
    <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}" />
    <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox" />
    <Param name="cr" value="countryNZ"/>
  </Url>
  <SearchForm>http://www.google.co.nz</SearchForm>
</SearchPlugin>




.....c'mon sucker lick my battery........
binary solo...0000110000110000111...

43 posts

Geek


  Reply # 230178 2-Jul-2009 09:16 Send private message

Here's what mine looks like, this seems to work fine.


<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>GoogleNZ</ShortName>
<Description>Google Search NZ</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaRJREFUeNpiVIg5JRURw0A0YAHio943kYV%2B%2Ff33%2BdvvX7%2F%2FMjEx8nKycrGzwKXOiPKzICvdeezLhCV3jp15%2Bfv%2FX0YGhv8MDDxMX2qKTIw0RK10eYD6QYqATvoPBkt3f5K0W9Ew4fjTFz%2F%2Bw8Dm3W8UPeZxqFa%2BevsFyD0twgfVsOfkRxHrtfV9u5BVQ8Crd98%2FffkGYQM1QJ20%2FfSPv79eNxQGYfpSVJADmcvEAHbr7oOX2dj%2FERNKIA2%2F%2F%2Fz%2FxfCDhYVoDUDw5P6vf9%2B5iY0HVmZGQWm%2BN3fff%2Fn2k4eLHS739x%2FDiRs%2Ff%2F%2F5x8HO%2FOHzN3djfqgNjIwMgc6qzLx%2Fpy47j2zY%2Feff06tXhOUucgxeun33AUZGpHh4%2Bvo7t8EyIJqz%2FhpasD59%2B5dNrqdnznZIsEL9ICXCsWuBCwvTv%2FymS5PWPP32ExEALz%2F%2BB5r848cPCJcRaMP9xaYQzofPPzfuvrnj0Jst%2B5%2F8%2Bc4sLPeDkYlRgJc93VPE18NIXkYUmJYQSQMZ%2FP3379uPH7%2F%2F%2FEETBzqJ0WqLGvFpe2LCC4AAAwAyjg7ENzDDWAAAAABJRU5ErkJggg%3D%3D</Image>
<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;hl={moz:locale}&amp;q={searchTerms}"/>
<Url type="text/html" method="GET" template="http://www.google.co.nz/search">
  <Param name="q" value="{searchTerms}"/>
  <Param name="cr" value="countryNZ"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
<SearchForm>http://www.google.com/firefox</SearchForm>
</SearchPlugin>

Create new topic





Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Sky outbid for EPL rights (Premier League Pass discussion)
Created by JonnyCam, last reply by Jas777 on 20-Jun-2013 08:59 (239 replies)
Pages... 14 15 16


Slingshot Global Mode announced
Created by freitasm, last reply by driller2000 on 19-Jun-2013 23:38 (47 replies)
Pages... 2 3 4


Condenser Dryer: anyone has one?
Created by joker97, last reply by graemew on 18-Jun-2013 21:08 (31 replies)
Pages... 2 3


I am been sued - HELP!
Created by BaaaaD, last reply by wellygary on 20-Jun-2013 08:43 (61 replies)
Pages... 3 4 5


Orcon Genius Go discussion
Created by freitasm, last reply by Sounddude on 20-Jun-2013 09:01 (52 replies)
Pages... 2 3 4


Slow YouTube Response
Created by SneakerPimps, last reply by mercutio on 18-Jun-2013 21:34 (23 replies)
Pages... 2


Anyone else watching paint dry?
Created by gnfb, last reply by DravidDavid on 19-Jun-2013 19:53 (40 replies)
Pages... 2 3


Calling all mazda 3/Axela owners in NZ
Created by coolcat21, last reply by Kingy on 19-Jun-2013 09:51 (37 replies)
Pages... 2 3



Geekzone Jobs »
Most recent NZ jobs in technology:

Website needed
Posted 19-Jun-2013 22:38

Solution Architect - Pre-Sales element!
Posted 19-Jun-2013 22:38

Senior Business Analyst
Posted 19-Jun-2013 19:38

Java Developer
Posted 19-Jun-2013 19:38

RF Tester
Posted 19-Jun-2013 19:38

Motivated Systems Administrator
Posted 19-Jun-2013 19:38

Senior ASP.Net Developer
Posted 19-Jun-2013 19:38


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.