Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get links and urls?

Status
Not open for further replies.

rome99

Programmer
Jun 12, 2008
1
US

How do I get visited websites and clicked links using javascript?

document.links.length gives me all the links in a page.
window.location.href gives me the url.

Suppose, I open a browser instance and visit to many websites and clicks many links in various websites.
but, where to put my javascript to collect all these info?
 
Would you like just anyone to be able to track everywhere you've been on the Internet? Most people wouldn't, so browsers don't expose this information.

You could track clicks on links on YOUR sites, but that doesn't sound like what you're after.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top