Bookmarklets Home | Links | Forms | Text and Data | Zap | Web Development | Validation | Misc

Link Bookmarklets

These bookmarklets let you quickly search, open, or list links on whatever page you're viewing.

(To keep bookmarklets in order to use them on other web pages, drag them to your Bookmarks Toolbar. Or, install them all at once.)

Bookmarklet Description Works in
search links Lists all links on the page containing the specified text. Details IE Moz NS4 Op7
linked images Opens a window showing all images linked to from the current page. Details IE Moz NS4 Op7
linked pages Opens a window showing all pages linked to from the current page. Details IE Moz Op7
hide visited Hides visited links. Details IE Moz
int/ext links Colors internal links red, external links blue, and in-page links orange. Details IE Moz Op7
open all links Opens each link on the page in a new window. Details IE Moz NS4 Op7
open selected links Opens each link within the selection in a new window. Details Moz
target this window Makes links open in the same window (when you click them). Details IE Moz NS4 Op7
target new windows Makes links open in new windows. Details IE Moz NS4 Op7
target new bg windows Makes links open in new windows behind the current window. Details IE Moz NS4 Op7
target one new window Makes links open in one new window. Details IE Moz NS4 Op7
remove redirects Changes redirecting links to go directly to the "real" target. Details IE Moz NS4 Op7
hrefs as link text Changes the text of links to match their hrefs. Details Moz
full urls as link text Changes the text of links to match their absolute urls. Details IE Moz Op7

Browsers: IE is Internet Explorer for Windows, Moz is Netscape 7 or Mozilla, NS4 is Netscape 4, and Op7 is Opera.


Details

search links (IE, Moz, NS4, Op7)

Lists all links on the page containing the specified text.

Prompts for a string (word or phrase), and then lists links on the page that contain that string in a new window. The string may appear in the link's target url or in its anchor text. If you leave the prompt blank, all links on the page will be listed.

Opera/NS4: the text of the link won't be shown or searched (only the URL will be).

linked images (IE, Moz, NS4, Op7)

Opens a window showing all images linked to from the current page.

Use this on a page or directory listing where many of the links are links to images, such as http://dmoz.org/images/moz/.

Opera 6 bug: to load the images after running the bookmarklet, press G three times. (Bug 46513)

linked pages (IE, Moz, Op7)

Opens a window showing all pages linked to from the current page.

An example of where this is useful is the Tiny Sepuku page.

hide visited (IE, Moz)

Hides visited links.

Especially useful on pages with lots of image links, because it's often hard to tell whether an image link is visited.

Note that some people, including me, consider it a privacy hole that sites are able to determine whether a link is visited. This bookmarklet will probably stop working when that bug is fixed, and will have to be converted into a browser extension.

int/ext links (IE, Moz, Op7)

Colors internal links red, external links blue, and in-page links orange.

Based on a simpler bookmarklet by Steve Kangas.

open all links (IE, Moz, NS4, Op7)

Opens each link on the page in a new window.

(Inspired by Matthew Tuck's suggestion on Mozilla bug 9274.)

open selected links (Moz)

Opens each link within the selection in a new window.

If you don't select anything or if you're not using Mozilla, all links on the page will be opened instead of just the selected links.

(Inspired by Matthew Tuck's suggestion on Mozilla bug 9274.)

target this window (IE, Moz, NS4, Op7)

Makes links open in the same window (when you click them).

target new windows (IE, Moz, NS4, Op7)

Makes links open in new windows.

target new bg windows (IE, Moz, NS4, Op7)

Makes links open in new windows behind the current window.

Thanks to George Brunetti for the idea for this bookmarklet.

target one new window (IE, Moz, NS4, Op7)

Makes links open in one new window.

remove redirects (IE, Moz, NS4, Op7)

Changes redirecting links to go directly to the "real" target.

This bookmarklet uses two methods to determine the "real" target of a link.

Based on a submission by Michael Roller and a suggestion from Guido Tonini.

hrefs as link text (Moz)

Changes the text of links to match their hrefs.

full urls as link text (IE, Moz, Op7)

Changes the text of links to match their absolute urls.


© 2000-2007 Jesse Ruderman (jruderman@gmail.com). Feedback is welcome.
Last modified October 9, 2004.