SEO Tools | Link Extractor


Link Extractor Script

Description:

A Perl-like tool that extracts out all of the links in a document, and writes it neatly to a new window. What's it good for? Well, personally, this script saved us a lot of time when we needed to move a long list of links, nested deep inside table cells, to a new document. Its a great tool for efficiently separating links from the other content.

Directions:

Simply paste the below code to the bottom of the page you want to extract out the links from:

<strong>Script:</strong><br />
<script>
<br />
<!--
</p>
<p>
/*<br />
Link Extractor Script- <br />
© Dynamic Drive (www.dynamicdrive.com)<br />
For full source code, installation instructions,<br />
100's more DHTML scripts, and Terms Of<br />
Use, visit dynamicdrive.com<br />
*/
</p>
<p>
function extractlinks(){<br />
if (document.all||document.getElementById){<br />
if (document.all)<br />
var links=document.all.tags("A")<br />
else if (document.getElementById)<br />
var links=document.getElementsByTagName("A")<br />
var total=links.length<br />
var win2=window.open("","","menubar,scrollbars,status")<br />
win2.document.write("
<h2>Total Links="+total+"</h2><br>
")<br />
for (i=0;i<total;i++){<br />
win2.document.write('<a href="'+links[i]+'">'+links[i].innerHTML+'</a><br>
')<br />
}<br />
win2.document.close()<br />
}<br />
}<br />
//--><br />
</script><br />
<button /><br />

Script Close

 

 

For more Information Please Click on Contact us or send your mail ID.