Need this script

Is there any Script that auto UN-LINK the links in page??

You can hijack the mouse click and cancel it when people click on a link. Is that what you want to prevent? Or are you wanting the presentation of the link to also not be shown, so that the links aren’t blue and underlined?

if you include jquery just use:

$('a').click(function(e){e.preventDefault();});

This part is a guess i’m not sure about the syntax

arr = document.getElementsByTagName( "a" );
foreach(var x in arr) {
   arr.x.addEventListener('click', function(e){e.preventDefault();}, false);
   arr.x.addEventListener('mouseDown', function(e){e.preventDefault();}, false);
}

@baileylo plz can you tell me where to put this code ?

before the closing <body> tag put this in


<script type="text/javascsript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript">$(document).ready(function(){$('a').click(function(e){e.preventDefault();})});</script>

Thanks Let me try it