firefox search plugin

Discussion in 'CZ Support Zone' started by hairic, Jan 2, 2009.

  1. hairic

    hairic Well-Known Member

    2,724 Messages
    650 Likes Received
    I went on a tear while messing with opensearch, and I made one for the search here too. It's kinda pointless, but it works, so I'm posting it. :p:

    This is really only for the admins to add if they're interested (they can make it work for everyone much easier, add other stuffs like the favicon, etc), but anyone can add it manually. Just create an xml file (I'm too lazy to host it myself), copy/paste the code into it, and save it to this buried directory: c:\documents and settings\your account name\application data\mozilla\firefox\profiles\profile gibberish name\searchplugins\ You'll then be able to search the cowboyszone forums without visiting the search page.

    BTW, for anyone who doesn't know what I'm talking about, the search bar in firefox = search plugins. When firefox is first installed, it defaults to a google search plugin and has a half dozen other options. It's next to the address bar unless you moved it.

    Code:
    <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
    <os:ShortName>cowboyszone forums</os:ShortName>
    <os:Description>search cowboyszone.com forums</os:Description>
    <os:InputEncoding>UTF-8</os:InputEncoding>>
    <SearchForm>http://cowboyszone.com/forums/search.php</SearchForm>
    <os:Url type="text/html" method="GET" template="http://cowboyszone.com/forums/search.php?query={searchTerms}&amp;do=process">
    </os:Url>
    </SearchPlugin>
    name/values that can narrow search (all the stuff you see in advanced search). Took all of this down when getting the name of form submit button:

    You can do a lot of stuff with those other options, but it's likely too niche. I know I'll make one to keep up with individual posts, though, just because it requires fields that I haven't messed with yet.
     

Share This Page