Some time ago I made a Firefox extension that would let you easily search any site you had open. The addon, while not hugely popular, has received some favorable comments and is still actively used by some.
Today someone who identified hirself simply as nettrotter submitted a bookmarklet that does the same thing. The bookmarklet is easier to install than an extension and works in multiple browsers, so, after some minor touching up, I decided to post it here. Enjoy 🙂
What It Does
- Clicking the bookmarklet will bring up a dialog box where you can enter your search query. The script will then use Google to search the current site and show the results in a new tab.
- Select some word(s) from a page and click the bookmarklet to search that site for those keywords.
- Displays up to 100 search results at once.
- Works in Firefox (tested on 3.0.3) and Opera (tested on 9.52). It probably works in a bunch of other modern browsers, too.
Drag this link to your bookmark bar (in Opera you can also hold Shift to drag the bookmarklet to other toolbars, including the status bar) :
Afterwards you can go to any site and click the new bookmark/button to search that site, even if it doesn’t have a search box of it’s own.Related posts :