I came across a post about searching Google for MP3 files. Even though it didn’t do a whole lot, it seemed kind of interesting, and I checked out how Firefox’s search plugins are done, and created a new search plugin (and added support for OGG files too 🙂 ).
It was actually very easy to do, where all I did was copy the google.xml file from <FIREFOX_INSTALL_DIR>\searchplugins\ and modify the search\param value. Didn’t feel like “enough work” was done, so I extracted the image from the XML file (courtesy of this online Base64 encoder/decoder) and replaced with my own. Once the file is placed in the searchplugins directory, restarting Firefox loads it up.
Give it a shot. Alternatively, download my file.