Blocking IntelliTXT

Here's a handy little IntelliTXT-blocking User JavaScript for you Opera users out there. I've been using this at work for some time and just noticed the other day that I didn't have it on my laptop, so I figured I'd post it for posterity.

If you're not familiar with IntelliTXT, just browse through the forums on Tek-Tips.com and you'll see what I mean. The adds are added by a JavaScript which highlights certain keywords that it finds on the page. When you mouse over these words, it pops up an obnoxious little semi-transparent DIV with an ad in it. The actual ads look really nice, but they're really annoying, especially given that it's very easy to inadvertently mouse over one of the keywords and pop up an ad over the text you're trying to read.

The actual code for the script is below, for those who are interested. You can also just download the script and drop it in your UserJS folder, if you're feeling lazy. // Block those annoying IntelliTXT adds. window.opera.addEventListener('BeforeExternalScript', function (e) { if( e.element.getAttribute('src').match(/intellitxt/i) ) { e.preventDefault(); } }, false );

You can reply to this entry by leaving a comment below. This entry accepts Pingbacks from other blogs. You can follow comments on this entry by subscribing to the RSS feed.

Add your comments #

A comment body is required. No HTML code allowed. URLs starting with http:// or ftp:// will be automatically converted to hyperlinks.