Problems with "element hiding" and tables

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
sremick

Problems with "element hiding" and tables

Post by sremick »

Ok, figured out why my Adblock+ wasn't updating, came here, learned about the new 0.6 rewrite, learned about removal of DIV-blocking, upgraded anyway, and am now struggling to learn the new way of things. Mainly, trying to leverage the new "element hiding" feature to accomplish (almost) the same thing.

Now... according to the FAQ, I should be able to block a table based upon its id.
#*(advert) — this filter will hide any elements with the attribute id="advert" or class="advert"
#table(adverts) — this is a combination of the previous two, the elements <table id="adverts"> and <table class="adverts"> will be hidden
On the CNN front page, there is a table with id="cnnContextualLinks" near the bottom which contains a bunch of stuff I wish to whack. Hypothetically (according to the FAQ), either one of these should work in Adblock+:

#*(cnnContextualLinks)
#table(cnnContextualLinks)

However, I've tried both and I still get that box. I've got some other element-hiding filters removing some other DIVs within it, but I can't get the final table out which contains the red text "FROM OUR PARTNERS".

Minor, I know... but I'm trying to learn how to use these filters, and as far as I can tell, this should work but doesn't. Any suggestions?

(I have RIP and the Web Devel Ext also and will be trying to learn them, but they add like 12 steps to what used to be one, and blocking DIVs is the original reason I moved from Adblock to Adblock+, so this is a big issue for me)
Wladimir Palant

Post by Wladimir Palant »

#div(cnnPartners) works. And #table(cnnContextualLinks) is also useful - it removes "advertiser links" above. You might want to use DOM inspector, it helps finding out what is where on the page.
Locked