Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TwinCities Dan

macrumors 603
Original poster
First off, I love the MRoogle search site.

Would it be possible for somebody to make a plug-in for FireFox? :confused:

I think that would be pretty slick! I love this feature of FireFox and it is one of the main reasons I don't use Safari as much as I used to. Now, of course I search Google a lot but the Wikipedia drop down comes in a close second. I know if there was a MRoogle one, it would dwarf the other two. ;) :)
 

Attachments

  • Picture 2.png
    Picture 2.png
    118.3 KB · Views: 85

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Your wish is my command. Copy and past the text below into a new file called mroogle.xml and save this into the searchplugins folder. Restart Firefox and you should have MRoogle (without an icon) in the search list.

Code:
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>MRoogle</ShortName>
<Description>MRoogle Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Url type="text/html" method="GET" template="http://www.google.com/cse">
  <Param name="cx" value="011016119145480959114%3Akuv1aq0hily"/>
  <Param name="q" value="{searchTerms}+site%3Aforums.macrumors.com"/>
  <Param name="ie" value="utf-8"/>
  <Param name="hl" value="en"/>
  <Param name="as_qdr" value="all"/>
  <Param name="meta" value=""/>
</Url>
<SearchForm>http://mroogle.*************/</SearchForm>
</SearchPlugin>

Search plugins should be saved in
/Applications/Firefox.app/Contents/MacOS/Searchplugins (OSX) Note this is inside the application bundle, not what I'd recommend changing, is there a location in ~/Application Support/ that works? I've seen ~/Library/Application Support/Firefox/Profiles/searchplugins, ~/Library/Application Support/Firefox/Profiles/ and ~/Library/Mozilla/Firefox/Profiles/ suggested...
C:\Program Files\Mozilla Firefox\searchplugins (Windows)
/usr/lib/firefox-addons/searchplugins (Linux)

Note I've tested this in Firefox 3.0.5 on Windows only (as I'm at work).
 

Raid

macrumors 68020
Feb 18, 2003
2,155
4,588
Toronto
Alternative Path for Windows machines

Slight modification to robbieduncan's great script above. Here at work we have limited permissions to install (e.g. no java script Firefox for me!) so if you are operating like I am the path above was probably nowhere to be found. After searching for "searchplugins" I was able to find a home for the mroogle.xml file here:
C:\Documents and Settings\your user id\Application Data\Mozilla\Firefox\Profiles\mqupnl6y.default\searchplugins

Thanks again robbieduncan! I can't wait to get it running back home too.
 

redgaz26

macrumors 68020
Mar 6, 2007
2,298
6
Glasgow
Your wish is my command. Copy and past the text below into a new file called mroogle.xml and save this into the searchplugins folder. Restart Firefox and you should have MRoogle (without an icon) in the search list.

Code:
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>MRoogle</ShortName>
<Description>MRoogle Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Url type="text/html" method="GET" template="http://www.google.com/cse">
  <Param name="cx" value="011016119145480959114%3Akuv1aq0hily"/>
  <Param name="q" value="{searchTerms}+site%3Aforums.macrumors.com"/>
  <Param name="ie" value="utf-8"/>
  <Param name="hl" value="en"/>
  <Param name="as_qdr" value="all"/>
  <Param name="meta" value=""/>
</Url>
<SearchForm>http://mroogle.*************/</SearchForm>
</SearchPlugin>

Search plugins should be saved in
/Applications/Firefox.app/Contents/MacOS/Searchplugins (OSX) Note this is inside the application bundle, not what I'd recommend changing, is there a location in ~/Application Support/ that works? I've seen ~/Library/Application Support/Firefox/Profiles/searchplugins, ~/Library/Application Support/Firefox/Profiles/ and ~/Library/Mozilla/Firefox/Profiles/ suggested...
C:\Program Files\Mozilla Firefox\searchplugins (Windows)
/usr/lib/firefox-addons/searchplugins (Linux)

Note I've tested this in Firefox 3.0.5 on Windows only (as I'm at work).


how do you make a new file, I've found the plugins folder but where do you put the code??
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.