Let IE list all links to the right-click menu

xiaoxiao2021-03-06  100

Let IE list all links to the right-click menu

Leisure Cloud August 19, 2004 (repair)

1. Write a "list_all_links.htm" file in the Windwos directory, copy the following code to:

varinter = ""; function displink () {var links = exTernuarguments.Document.links; if (links.length == 0) {Alert ("This page has no link, Can't look at! "); Return;} var result = window.confirm (" A total of " links.length " link, ready to see? "); If (result == true) {var all_links = window.open ("C: / windows/list_all_links.htm", "_ self"); for (i = 0; i " "
"); else all_links.document.write ("< A href = / "" links (i) .href "/"> links (i) .innertext "
");}}} DISPLINK (); ->