Hippo CTO blog - Arjé Cahn

Rolling my own Firefox searchbar

Since I'm searching the Hippo CMS website almost full-time, I've created a funky little Firefox search engine plugin for it:
Install the HippoCMS.org Firefox search engine plugin!

Rolling your own Firefox searchbar

I've used the following excellent Confluence-to-searchbar sample: http://confluence.atlassian.com/display/CONFEXT/Confluence+Firefox+searchbar Also, there's a nice o'Reilly hacks page to help you out.

And a word of advice; if you want to roll your own searchbar, do take note of the warning on this page:
http://www.mozilla.org/projects/search/technical.html

When using the window.sidebar.addSearchEngine() function, the basename of the engine URL and the icon URL (in this example, "mozilla.src" and "mozilla.gif") must exactly match, except for the filename extension.

(Oh my.. Why?!!!?)

Removing search engines from firefox

Your personal search engines are stored in your user dir, under Mozilla/Firefox/Profiles/some-profile/searchplugins. The global engines are in the Firefox program dir, under searchplugins. So if you want to get rid of the silly Amazon and Ebay engines, now's your change! Just delete both the .gif and .src file for each engine and reboot your firefox.

Have fun!





Post a comment

Verification (needed to reduce spam):