Blocking Ads on Tweakers.net

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Skillz
Posts: 7
Joined: Thu Mar 22, 2007 9:02 pm

Blocking Ads on Tweakers.net

Post by Skillz »

First of all...this program rocks! 8)

But... I've added the 3 filters of Easylist to Adblock plus, but still when I visit "http://tweakers.net" The ads popup :(

After trial and error I found out the following code in Usercontent.css does block the ads but I haven't got a clue what it means and or if it's sufficient enough.

This is the content of the "Usercontent.css":

Code: Select all

div[id*="advert"],
div[id*="sponsor"],
*[src*=""]
{display:none!important;}
Is there a way to add these lines into Adblock Plus?
And do these lines make sense?

Hope someone is willing to help me out.
User avatar
Stupid Head
Posts: 214
Joined: Sat Aug 26, 2006 8:11 pm
Location: USA

Post by Stupid Head »

What you posted translates to:

Code: Select all

tweakers.net#DIV(id*=sponsor)
tweakers.net#DIV(id*=advert)
There's a guide to writing element hiding filters and a supplementary extension that generates those rules for you.
What, me worry?
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

@ Skillz

Sorry, I made an error when I gave your those filters on my forum and then fixed it afterward:
http://www.richsterling.com/forum/viewtopic.php?p=3968

Stu's 2 hides are correct as that is (now) the same on my post.
Last edited by rick752 on Fri Mar 23, 2007 3:47 am, edited 1 time in total.
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

@ Stu:

Thanx for doing that. I'm having a busy day here and realized that my info on my site was wrong. Sorry Skillz.
Skillz
Posts: 7
Joined: Thu Mar 22, 2007 9:02 pm

Post by Skillz »

TYVM for the quick replies :D

So, another question. If I would leave out the tweakers.net part on the filters, would it (try to) block those ads on all sites?

I'll have a good look at the tutorial later on
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

Skillz wrote:If I would leave out the tweakers.net part on the filters, would it (try to) block those ads on all sites?
Yes it would ... just be careful. Unlike ads that actually have an address or directory structure, element names are only random 'webmaster chosen' words.
Skillz
Posts: 7
Joined: Thu Mar 22, 2007 9:02 pm

Post by Skillz »

rick752 wrote:
Skillz wrote:If I would leave out the tweakers.net part on the filters, would it (try to) block those ads on all sites?
Yes it would ... just be careful. Unlike ads that actually have an address or directory structure, element names are only random 'webmaster chosen' words.
Ah ok, thx
Locked