Jump to content

List all links


InsanelyLeo
 Share

1 post in this topic

Recommended Posts

I am using this javascript (which works in Safari, Camino etc).

 

java script:WN7z=open('','Z6','width=400,height=200,scrollbars,resizable,menubar');DL5e=document.links;with(WN7z.document)%7Bwrite('%3Cbase%20target=_blank%3E');for(lKi=0;lKi%3CDL5e.length;lKi++)%7Bwrite(DL5e%5BlKi%5D.toString().link(DL5e%5BlKi%5D)+'%3Cbr%3E%3Cbr%3E')%7D;void(close())%7D

 

Please remove the space between the words "java" and "script" to get the script working. The forum does not allow me to do so.

I use Camino browser.

 

When the script is saved as a bookmark in the Bookmark bar and clicked then it lists all the links in the web page being currently viewed in a new window.

I want to be able to copy the links to clipboard instead of having them open in a new window.

Can someone please edit the above javascript code for me?

Thanks.

Link to comment
Share on other sites

 Share

×
×
  • Create New...