JavaScript link checker

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

JavaScript link checker

Post 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 :)
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

I'm curious to know what you would be using it for
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

There are some programs which can check links on a page. There's also a Firefox plugin.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

I wanted to integrate it into my web site as a sales tool. :)
Post Reply