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.


JimmyLizar

321 posts

Ultimate Geek
+1 received by user: 1


#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
Schnaff
1 post

Wannabe Geek


  #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

mdf
3566 posts

Uber Geek
+1 received by user: 1519

Trusted

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

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


MG1976
43 posts

Geek


  #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



JimmyLizar

321 posts

Ultimate Geek
+1 received by user: 1


  #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...

MG1976
43 posts

Geek


  #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

JimmyLizar

321 posts

Ultimate Geek
+1 received by user: 1


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

cool, thanks...I will try that




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

HP

 
 
 
 

Shop now for HP laptops and other devices (affiliate link).
JimmyLizar

321 posts

Ultimate Geek
+1 received by user: 1


  #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...

MG1976
43 posts

Geek


  #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








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.