MRoogle firefox search plug-in?

Discussion in 'Site and Forum Feedback' started by TwinCities Dan, Feb 1, 2009.

  1. TwinCities Dan macrumors 603

    TwinCities Dan

    Joined:
    May 19, 2008
    Location:
    Double Parked out front of the Courthouse
    #1
    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. ;) :)
     

    Attached Files:

  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #3
    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).
     
  3. Raid macrumors 68020

    Raid

    Joined:
    Feb 18, 2003
    Location:
    Toronto
    #4
    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.
     
  4. redgaz26 macrumors 68020

    redgaz26

    Joined:
    Mar 6, 2007
    Location:
    Glasgow
    #5

    how do you make a new file, I've found the plugins folder but where do you put the code??
     
  5. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #6
    Use any text editor. For example Text Edit. Just make sure it's in plain text mode, not formatted text.
     
  6. iBlue macrumors Core

    iBlue

    Joined:
    Mar 17, 2005
    Location:
    London, England
  7. TwinCities Dan thread starter macrumors 603

    TwinCities Dan

    Joined:
    May 19, 2008
    Location:
    Double Parked out front of the Courthouse
    #8
    I still don't understand how to do this with OS X? :confused:
     

Share This Page