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

111 posts

Master Geek
+1 received by user: 1


  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:

Telecom introduces unlimited broadband data plan
Created by freitasm, last reply by firefuze on 24-Apr-2014 13:30 (99 replies)
Pages... 5 6 7


Stonedine
Created by Lizard1977, last reply by mattwnz on 24-Apr-2014 15:45 (67 replies)
Pages... 3 4 5


Auckland Transport Hop card - look out for errors
Created by robjg63, last reply by sbiddle on 24-Apr-2014 20:48 (21 replies)
Pages... 2


Windows 8 System Mechanics
Created by eme, last reply by eme on 24-Apr-2014 21:10 (20 replies)
Pages... 2


Using my Mac to ring family in the UK
Created by Geektastic, last reply by nakedmolerat on 24-Apr-2014 11:28 (19 replies)
Pages... 2


Telecom has started metering their TiVo customers' broadband usage (WITHOUT PRENOTIFICATION)
Created by Peteriv, last reply by mattwnz on 24-Apr-2014 15:11 (74 replies)
Pages... 3 4 5


Forms of government for New Zealand
Created by charsleysa, last reply by gzt on 24-Apr-2014 21:36 (176 replies)
Pages... 10 11 12


Parallel imported product
Created by Wills1, last reply by joker97 on 23-Apr-2014 21:01 (53 replies)
Pages... 2 3 4



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.