Search for related pages: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Behold! Light!)
 
(update)
Line 1: Line 1:
It employs Javascript to search Google for related links on the current page. Note that this will only work if Google has already indexed the site. To add this to your bookmarks, bookmark this website and change the location to:
: ''This article applies to Firefox and Mozilla Suite''
: <code>javascript:document.location.href="www.google.com/search?q=related:"+document.location.href</code>


You can edit the name and even give it a [[Mozilla Suite : Tips : Using keyword searches | keyword]]. Bookmarklet code kindly stolen from [http://forums.mozillazine.org/viewtopic.php?p=565801#565801 clav].
This [[bookmarklet]] can be used to search Google for pages [http://www.google.com/help/features.html#related similar to current]. Note that this will only work if Google has already indexed the site.
 
Create a new bookmark and change its location to:
javascript:document.location.href="http://google.com/search?q=related:"+document.location.href
 
You can also edit the bookmark's name and even give it a [[Using keyword searches|keyword]]. Bookmarklet code kindly stolen from [http://forums.mozillazine.org/viewtopic.php?p=565801#565801 clav].

Revision as of 21:01, 7 April 2005

This article applies to Firefox and Mozilla Suite

This bookmarklet can be used to search Google for pages similar to current. Note that this will only work if Google has already indexed the site.

Create a new bookmark and change its location to:

javascript:document.location.href="http://google.com/search?q=related:"+document.location.href

You can also edit the bookmark's name and even give it a keyword. Bookmarklet code kindly stolen from clav.