Simple element hiding not working in Chrome, works in Firefo

Everything about using Adblock Plus on Google Chrome
Post Reply
wapper
Posts: 4
Joined: Tue Nov 28, 2017 9:33 am

Simple element hiding not working in Chrome, works in Firefo

Post by wapper »

Hello,

I have noticed some time ago that some ABP element hiding rules are not working properly on some sites in Chrome, while same rules work perfectly in Firefox ABP.

For example, https://postimg.org/image/443rhpfcaj/ shows lots of ads that can be hidden with: postimg.org##div[id*="Composite"]
However in Chrome ads are still shown with this filter. In Firefox, ads will disappear.

There are many sites with ads that my Chrome+ABP can't block. I tried different element hiding rules, but as none worked, I had to move to Firefox.

Chrome 62.0.3202.94 with ABP 1.13.4
Firefox 56.0.2 with ABP 3.0.1
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Simple element hiding not working in Chrome, works in Firefo

Post by mapx »

Currently ABP is not able to block such ads (without breaking the page) - there are proposals waiting for implementation.

- There is a patch on chrome side to have the same hiding possibilities as firefox
- this type of ads are not simple ads but injected by some nasty code
- an adblocker which can fight this crap (in chrome) is uBo (ublock origin)
wapper
Posts: 4
Joined: Tue Nov 28, 2017 9:33 am

Re: Simple element hiding not working in Chrome, works in Firefo

Post by wapper »

Thanks a lot man.
Tried uBO, but it didn't work on any of the sites I had in mind.
It seems it's only able to block a certain ad inserting technique: "This extension is useful only on a predetermined set of sites, it won't do anything outside that specific set of sites". So not very useful.

Inserting DIVs with Javascript is a common technique nowadays https://www.adspeed.com/Knowledges/1103 ... -page.html
I was surprised that ABP has pretty good features for hiding elements, but none of those work in Chrome, in my case.
Where can I get the patch you mentioned, please? Still like Chrome more than FF.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Simple element hiding not working in Chrome, works in Firefo

Post by mapx »

- here is the bug / discussion https://bugs.chromium.org/p/chromium/is ... 009&desc=2
- Are you saying uBo does not work for you on postimg ? it works fine. I hope you disable ABP and test using only uBo.
- what other sites you "had in mind" ?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Simple element hiding not working in Chrome, works in Firefo

Post by mapx »

probably this filter is working in ABP on postimg example above

Code: Select all

postimg.org#?#[id^=MarketGidComposite]
wapper
Posts: 4
Joined: Tue Nov 28, 2017 9:33 am

Re: Simple element hiding not working in Chrome, works in Firefo

Post by wapper »

- Oh my, man I'm on Windows. It's easier to switch to FF than to Linux :)
- yes, I keep seeing those ads on Postimg with uBO enabled. Doesn't matter if I also disable ABP, or only remove lists and custom rules, or leave ABP fully enabled. Chrome restart didn't help.
- I had in mind other sites that use aggressive ad inserting and obscuring techniques, such as http://www.drive2.ru or http://www.spiegel.de. Took me a while 'til I made it look clean in FF.

- postimg.org#?#[id^=MarketGidComposite] - nope can still see ads. uBO disabled.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Simple element hiding not working in Chrome, works in Firefo

Post by mapx »

It's something wrong on your side, uBo is removing all those ads from postimg or spiegel

uBo is here: https://chrome.google.com/webstore/deta ... iagm?hl=en

You should try last chrome portable + uBo and then chrome portable + ABP + that last filter.

(and it's not about linux or windows, that patch will be for all chrome browsers)
wapper
Posts: 4
Joined: Tue Nov 28, 2017 9:33 am

Re: Simple element hiding not working in Chrome, works in Firefo

Post by wapper »

Man you're right! stupid me, I installed uBo extras, probably because it responded to search "ubo"
Yes uBlock Origin cleans postimg and spiegel, and with a flick on my hand I also cleaned up drive2.ru. Thanks for the great tip!
Will try portable later, I don't use it very often.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Simple element hiding not working in Chrome, works in Firefo

Post by mapx »

however, keep ubo extra too, is fixing very nasty advertising on high audience sites

for (specific) ubo filters report here:
https://github.com/uBlockOrigin/uAssets/issues
Post Reply