Add a quick-access Google Related shortcut to Safari

Feb 20, '03 08:38:00AM

Contributed by: Anonymous

You can acces the bookmarks in the Safari "Bookmark Bar" using the command key and a number represnting the order of the desired bookmark in the bar (see this hint). The neat thing is the bookmarks can be a line of JavaScript instead of an URL. Create a toolbar bookmark with the Google Scout code in it:

javascript:void(location.href='http://www.google.com/search?
client=googlet&q=related:'+location.href)
Enter as one line without any spaces! Shown on two lines for narrower display...

Once created, you can get Google's "related pages" for the page being displayed at the press of a key combination. Note: If you have folders in your Bookmarks Bar they are skipped when determining the number to press.

[robg adds: The easiest way to add the bookmark is to copy and paste the line of JavaScript into the Safari's address bar, and then just drag it onto the bookmark bar by grabbing the icon next to the address, and type in a short name when prompted.]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030214073802535