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


<script language="JavaScript1.2">

Link Extractor Script- 
Dynamic Drive (
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit

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
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>')
<button onClick="extractlinks()">Extract Links</button>

Sweet Ads X