I don't think this will work very well with the Firefox extension, since that uses the search UI in the browser.