“Google this site” as a Firefox quick search

Today when I switched to Firefox 3 Beta 2, I realized it was time to get rid of Google’s toolbar. I haven’t used this rather heavy, bloated extension for anything else than swiftly performing searches of the current website (queries such as site:420.thrashbarg.net wtf), and I guessed that a much smarter way of doing this would be to use a Firefox quick search/smart keyword instead.

As most obscure Firefox-related ideas, this has already been discussed on Lifehacker, and it turns out that a Ben Shepherd has a useful code snippet (quote):

“I use this link as a bookmarklet (with the ‘here’ keyword, i.e. “here cookies”) that does exactly the thing you are describing. It’s really useful!

javascript:void(location.href='http://www.google.co.uk/search?&q=site:'+location.href.split(%22/%22)[2]+'+%s&sourceid=firefox')

Start the Discussion!Leave a Reply

Your email address will not be published. Required fields are marked *