uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.04k stars 759 forks source link

Ads on finanzen.net #110

Closed curiosity-seeker closed 8 years ago

curiosity-seeker commented 8 years ago

URL(s) where the issue occurs

http://www.finanzen.net/

Describe the issue

There are 2 ads below the top and at the right side of that page, sometimes only one of them appears.

Screenshot(s)

finanzennet

Versions

... and all hosts files in uMatrix.

Notes

I've added the filters suggested on https://forums.lanik.us/viewtopic.php?f=90&t=32159&p=100829&hilit=finanzen.net#p100829:

finanzen.net###bs_abstand
||assets3.finanzen.net^$xmlhttprequest

With the Element Picker I created the following rules:

! 26.8.2016, 12:32:04 http://www.finanzen.net/
www.finanzen.net###sas_3650
www.finanzen.net###sas_5419_ibanner
www.finanzen.net###Ads_BA_SKY
www.finanzen.net###werbungR
www.finanzen.net###sas_5419_ibanner
www.finanzen.net###sas_5419_bannerCont
www.finanzen.net###sas_5419_i5045911
www.finanzen.net###sas_5419
www.finanzen.net###flashbuehne

But the ads are coming back ...

gorhill commented 8 years ago

Unable to reproduce -- using default settings + EasyList Germany (using a .de VPN). See if you can reproduce with only default settings + EasyList Germany, and also if using only uBO.

gorhill commented 8 years ago

Ok, I saw that there were exception filters (from EasyList DEU) for that site:

a

Using another blocking extension (uMatrix) probably work against these exception filters: I get the ads if I override these exception filters by dynamically blocking smartadserver.com and sascdn.com.

gorhill commented 8 years ago

You will have to whitelist smartadserver.com and sascdn.com in uMatrix in order for the exception filters in Easylist DEU to do their job.

gorhill commented 8 years ago

Actually, there is a filter in uBlock filters which was created for finanzen.ch a long time ago:

finanzen.ch##script:contains(/^\s*function\s+UABPInject/)

I see that finanzen.ch is related to finanzen.net, and the scriptlet for finanzen.ch no longer works. So it's probably a matter of updating the scriptlet for finanzen.ch, and also injecting it into finanzen.net.

curiosity-seeker commented 8 years ago

You will have to whitelist smartadserver.com and sascdn.com in uMatrix in order for the exception filters in Easylist DEU to do their job.

I did that and it seems to work (the appearance of those ads is not always consistent) . Thank you very much! I understand that you'll probably update that scriptlet as a better solution.

BTW, very interesting discussion with the AdGuard and ABP developers. It's good to see that there is some collaboration.

gorhill commented 8 years ago

I committed a better fix, you no longer need to whitelist smartadserver and sascdn.

curiosity-seeker commented 8 years ago

I tried it and, yes, it works! gorhill, you're unbelievable :-) Thanks again!

curiosity-seeker commented 8 years ago

Unfortunately, the ads on finanzen.net are back: finanzen net

I'm using uBlock Origin 1.9.7b1 with the same filterlists as in the first post above. All of them are updated.

gorhill commented 8 years ago

I don't see that ad. I do see it if I toggle off the per-site cosmetic filtering switch.

gorhill commented 8 years ago

For the other square ad, try finanzen.net##[id^="sas_"]:style(height: 1px !important).

curiosity-seeker commented 8 years ago

I don't see that ad. I do see it if I toggle off the per-site cosmetic filtering switch.

That switch is not toggled off. But now after opening that site again, I cannot see those ads at the top and the right side, either. Strange! I will report if they come back.

For the other square ad, try finanzen.net##[id^="sas_"]:style(height: 1px !important).

Thanks a lot! That fixed it, indeed!