Whitelist a site except for Flash

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

Whitelist a site except for Flash

Postby andresr » Tue Mar 09, 2010 7:58 am

I have been using Adblock plus a for a while now and I love it. Recently some of my regular news sites have been asking readers to whitelist them. I am ok with doing that, except that a lot of these sites use really annoying flash ads that were partly responsible for me starting to use adblock plus in the first place. What I would like to do is to whitelist a site except for flash or other specific ads. I have been doing reading in the FAQ and in the forums and I can't seem to find a way to do this. Is this possible? I figure that if site owners see people allowing certain ads through but blocking others, they might start to adjust their use of those annoying ads.
andresr
 

Re: Whitelist a site except for Flash

Postby Hubird » Tue Mar 09, 2010 8:44 am

It should be able to be done...

If you give us a link to the site I'll see what I can do.
User avatar
Hubird
 
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia

Re: Whitelist a site except for Flash

Postby Wladimir Palant » Tue Mar 09, 2010 9:18 am

I think a filter like this one will do:
Code: Select all
@@*$domain=example.com,~object

You have to replace example.com by the actual domain of course. The only problem: if the filter subscription doesn't have a filter for the object itself but only for the script that inserts that object then this approach will let the object load.
Wladimir Palant
ABP Developer
 
Posts: 8398
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: Whitelist a site except for Flash

Postby andresr » Tue Mar 09, 2010 9:45 am

Thanks. I have tried a couple of sites and static graphic ads seem to work but not Google text ads. For example, Arstechnica and HardOCP both have graphic ads that load ok but on Anandtech.com the Google text ads don't load.
andresr
 

Re: Whitelist a site except for Flash

Postby Wladimir Palant » Tue Mar 09, 2010 10:43 am

That's because element hiding will still work, it hides parts of web pages. You should remove EasyList filter subscription and subscribe to "EasyList without element hiding" on https://adblockplus.org/en/subscriptions instead.
Wladimir Palant
ABP Developer
 
Posts: 8398
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: Whitelist a site except for Flash

Postby andresr » Wed Mar 10, 2010 2:20 am

Thanks for the help. I am using that now.
andresr
 

Re: Whitelist a site except for Flash

Postby andresr » Wed Mar 10, 2010 7:07 am

Still having problems with this site www.hardocp.com. The sidebar and banner flash ads still show up. I want to help these sites out, but I really don't like all the blinking. It looks like they are embedding a flash object inside a script. I tried adding ~script to the filter but it now blocks the static and text ads too. I'll keep playing with it.
andresr
 

Re: Whitelist a site except for Flash

Postby andresr » Wed Mar 10, 2010 8:16 am

After trying to write my own filter and failing I found the most excellent Adblock Plus Element hiding helper plugin. I was able to choose the offending embedded flash element and it automatically created the filter for me, awesome. Thanks Wladimir for all your terrific help.
andresr
 


Return to Filters for Adblock Plus

Who is online

Users browsing this forum: No registered users and 8 guests