In comp.lang.javas cript message <11************ *********@p10g2 000cwp.goo
glegroups.com>, Wed, 7 Mar 2007 00:58:41, RobG <rg***@iinet.ne t.au>
posted:
>On Mar 7, 5:18 pm, "Chandra" <bschandramo... @gmail.comwrote :
>How do I programmaticall y (javascript) check if link is valid in html?
Search for "Does a url exist?" at:
<URL: http://www.jibbering.com/2002/4/httprequest.html >
So, on page load, an author can do various things amounting to a
probable abuse of resources.
OTOH, the code to check all the URLs on a page could be put in an
include file on an author's own machine, with a dummy version on the
author's public site; and that code could be actuated by a code-written
button so that it was not used too often. Such code could be published
for distribution by using /* ... */ to disable its workings. Has anyone
done that?
And HEAD can be used to find the Last-Modified date which is the well-
defined unambiguous form from which lastModified is derived often by the
removal of unambiguity. I've created temporary page
<URL:http://www.merlyn.demo n.co.uk/lastzmod.htm>
which uses it in addition and will replace last-mod.htm if all seems
well.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk DOS 3.3, 6.20 ; WinXP.
Web <URL:http://www.merlyn.demo n.co.uk/- FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demo n.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demo n.co.uk/batfiles.htm- also batprogs.htm.