Log in

View Full Version : Resolved pull all links from page



lanta99
01-18-2009, 10:26 PM
HI,

Is there any service / program which I can use that will pull all the links from a page? For example if I was on google.com and I used the services, it would make a list like:

www.google.com
www.google.com/about
www.google.com/prefs
etc...

I know that there are a lot of services that can download a static copy of the links in a web page, but that is not what I want.

Thanks in advance!

jscheuer1
01-18-2009, 10:42 PM
Just paste this into your browser's address bar and hit enter:


javascript:for( l = [], i = 0; i < document.links.length; ++i)l.push(['<a href="', document.links[i].href, '">', document.links[i].href, '</a><br>'].join(''));void(document.write(l.join('')))

To get back to the page, hit your browser's back button.

lanta99
01-18-2009, 10:59 PM
Thanks so much!

Question resolved