Page 1 of 1

JavaScript link checker

Posted: Thu May 03, 2007 12:04 am
by alex.barylski
I've searched and was surprised to find nothing like it has been implemented yet - that I could find anyways.

I figure I could use jQuery to scan a document for SRC and HREF attributes and store those in an vector. Then go over each and check their status and parse them for their own links and so on.

The vector would grow, but as long as you checked to prevent duplicates, it shouldn't grow to such an extent that your browser crashes.

Anyone know of anything like this? Or should I just develop it myself?

Cheers :)

Posted: Thu May 03, 2007 2:16 am
by aaronhall
I'm curious to know what you would be using it for

Posted: Thu May 03, 2007 4:38 am
by matthijs
There are some programs which can check links on a page. There's also a Firefox plugin.

Posted: Thu May 03, 2007 5:42 pm
by alex.barylski
I wanted to integrate it into my web site as a sales tool. :)