New release of disableIntelliTXT is up

| | Comments (12)

Update 2: DisableIntelliTXT is now DisableTextAds! Check it out here.

Update: Version 3.2 is up - thanks to those who pointed out I was eating words in Kontera multi-word links. Their generated HTML is truly... interesting.

Only takes a few people pointing out my flaws to get me off my duff. New release can be found on Userscripts or installed by right-clicking here.

I spent a month or so trying to prevent the Vibrant Media javascript from executing, but it seems impossible given the current limitations of Greasemonkey. So I've adopted an approach first used by Brian Donovan, which is both clean and more correct than my css hack.

12 Comments


Erik said:

Your version 3.1 release disables Kontera adds, but it also seems to delete the second word when the add link contains 2 words. For examples, see here:

http://www.silentpcreview.com/article657-page2.html

The words "drive" and "site" disappear in the first few paragraphs of that article.

Braden said:

Erik, make sure you're using the new version 3.2, just released today (or whenever this blog post was made). I saw no problems with that same URL using the 3.2 script, but I was one of "the few" who complained about 3.1 eating words. ;)

Grant said:

Oops - updated userscripts.org but forgot to post a comment here mentioning the new version. Thanks for the reminder. :)

Erik said:

Yes, the new 3.2 version from yesterday fixes this problem I saw with 3.1. Thanks!

claudia said:

Hi,
I am really excited that I found your discussion because I am looking for a solution that blocks the Intellitxt.

How do I install this script on the web site?
I do not have a problem with my computer, but I want to prevent all people who have intellitext from viewing our web site incorrectly and being redirected to our competitors.

sg said:

Installed on 11-03-2006, whatever version is currently on userscripts.org (3.2?). It fails to block intelliTXT on this Tom's Hardware page: http://www.tomshardware.com/2006/10/16/building_a_low-power_home_theater_pc_system/

Thanks for the hard work!

Grant said:

sg - Hmm. When I visit that page, I don't see any IntelliTXT ads. Is it possible that GreaseMonkey isn't turned on? Is the monkey face in the bottom right corner of your browser frowning or smiling?

The other possibilities are that either the ads weren't IntelliTXT (Adbrite, maybe?) or that Tom's Hardware is testing something new for Vibrant Media, and they're only serving it to some viewers for now.

Fabio said:


Thank you. Thank you. Thank you!

You, sir, are a scholar and a gentleman.

Those ads drive me sooo crazy, I had installed Greasemonkey and was ready to roll up my sleeves and write my own blocker.. that is, until I found yours.

Congrats on the work! Simple and effective--the epitome of good code.

Mike said:

Bug report in v3.2: toLowerCase should be toLowerCase()

I saw a new version of text ads today called linkworth. See wrestlecrap.com for an example. Thankfully, they are easily strippable with this code:

if ( event.target.getAttribute('class') == "lw_cad_link" )
{
adNode = event.target;
childNode = document.createTextNode(adNode.innerText);
}

Mike said:

ack, I forgot my other comment on toLowerCase.

The comparison
!event.target.nodeName.toLowerCase == 'a'

is ineffective because ! has precedence over == so that expression ends up comparing a negated function pointer to a string, which are never equal. That should be

event.target.nodeName.toLowerCase() != 'a'

Grant said:

Thanks for the comments! Version 3.3 fixes these problems. My kingdom for a decent javascript debugger...

I'll have a look at the site you mentioned - hopefully I can have a new version blocking those ads shortly.

auto said:

thank you for your suggestions...

Leave a comment

About this Entry

This page contains a single entry by Grant Goodale published on August 28, 2006 6:37 PM.

SpotDJ - coming soon! was the previous entry in this blog.

Use your BlackBerry Pearl as a Bluetooth Modem under OS X is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.1

Fire Eagle

I'm at Ballard, Seattle, WA

Like my work?

If you've got the urge to say 'Thanks!' monetarily, who am I to argue?