Results 1 to 3 of 3

Thread: pull all links from page

  1. #1
    Join Date
    Sep 2008
    Posts
    35
    Thanks
    3
    Thanked 1 Time in 1 Post

    Smile pull all links from page

    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!
    Last edited by lanta99; 01-18-2009 at 11:00 PM. Reason: resolved

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Just paste this into your browser's address bar and hit enter:

    Code:
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    lanta99 (01-18-2009)

  4. #3
    Join Date
    Sep 2008
    Posts
    35
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default

    Thanks so much!

    Question resolved

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •