disable javascript from running on links
<p>I have a script that reloads an iframe whenever the browser screen is clicked (works perfectly). I was wondering how I would go about disabling the javascript from running on certain links?</p>

<p>Here is my current script:</p>

<pre><code>document.onclick= function(event) {
    if (event===tichack) event= window.event;
    var target= 'target' in event? event.target : event.srcElement;

   document.getElementById("tichack").src = "http://link.com?"+(+new Date());
};
</code></pre>

<p>Example would be something like this i suppose? (obviously incorrect) but will give you a better idea of what I am trying to achieve, did allot of searching but have had no luck?:</p>

<pre><code>onclick="javascript:disabled=true;"
</code></pre>
