New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact

<html>

<body>
<script language="JavaScript1.2">
<!--

/*
Link Extractor Script- 
Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function extractlinks(){
if (document.all||document.getElementById){
if (document.all)
var links=document.all.tags("A")
else if (document.getElementById)
var links=document.getElementsByTagName("A")
var total=links.length
var win2=window.open("","","menubar,scrollbars,status")
win2.document.write("<h2>Total Links="+total+"</h2><br>")
for (i=0;i<total;i++){
win2.document.write('<a href="'+links[i]+'">'+links[i].innerHTML+'</a><br>')
}
win2.document.close()
}
}
//-->
</script>
<button onClick="extractlinks()">Extract Links</button>
</body>
</html>

Sweet Ads X