Uassets: o2.pl

Created on 23 Nov 2020  路  27Comments  路  Source: uBlockOrigin/uAssets

URL(s) where the issue occurs

https://www.o2.pl/
https://poczta.o2.pl

Describe the issue

Ad pictures

Screenshot(s)

Unbenannt

Versions

  • Browser/version: Firefox developer
  • uBlock Origin version: v1.31.0

Settings

default + uBlock Annoyances

Notes

Most helpful comment

chrome: adguard +
o2.pl#@#+js(set-constant, Object.prototype.advViewability, undefined)

does not work for FF

(and remove aost filter above)

All 27 comments

enable adguard-base, then add:

o2.pl##+js(aost, adsFirstRegisterSlot, , 2)

and test again

mapx- : https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-732380507

  • as for the ads - most ads removed, but still an ad at the bottom, on both main page and articles:


screenshoot - the ad

capture_043_23-11-2020_20-54-42

  • as for the empty grey ad-containers, they are still here, on the whole page, despite AdGuard Base list enabled, just as I said already "even AdGuard team is recently fixing ads on o2.pl via cosmetic filters (enable AdGuard Base filter to see in the logger), unfortunately they are outdated now, ads leaking..."


screenshoot - the empty grey ad-containers all over the page

capture_045_23-11-2020_21-00-45

capture_044_23-11-2020_21-00-43

AdGuard have few incompatible matches-css - few needed add ", but when no compatible with AdGuard.

matches-css(background-image: /^url\(data - AG
matches-css(background-image: /^url\("data - uBO

@gwarser

chrome: adguard +
o2.pl#@#+js(set-constant, Object.prototype.advViewability, undefined)

does not work for FF

(and remove aost filter above)

for ad-containers alternative:

o2.pl##[role="presentation"]:upward(1)

It has been fixed in POL filter list (see the above commit), please update POL filter list and check.

ok it works

https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-732407142

Used by WP to generate blank pages

Guys wth? I asked you to reopen...

test (chrome)

o2.pl##+js(set, googletag.companionAds, falseFunc)

if some unhidden PH, add too:

o2.pl##[role="presentation"]:upward([style])
o2.pl##[role="presentation"][class]:upward(1)
o2.pl##[src*="adP"]:upward(1)

maybe does not work in firefox

did not work
Basilisk uBlock-for-firefox-legacy-1.16.4.26

o2.pl##+js(set-constant.js, googletag.companionAds, falseFunc)
o2.pl##[role="presentation"]:upward([style])
o2.pl##[role="presentation"][class]:upward(1)
o2.pl##[src*="adP"]:upward(1)

https://user-images.githubusercontent.com/70756447/100276205-73703a00-2f61-11eb-97d8-0b852cc33517.PNG

mapx- : https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-743996448
test (chrome)

o2.pl##+js(set, googletag.companionAds, falseFunc)


broken video screenshoot


capture_018_13-12-2020_14-39-29

  • Firefox - completely broken page - white page:


white page screenshoot


capture_019_13-12-2020_14-47-07

mapx- : https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-743996448
if some unhidden PH, add too:

o2.pl##[role="presentation"]:upward([style])
o2.pl##[role="presentation"][class]:upward(1)
o2.pl##[src*="adP"]:upward(1)

It seems o2 breaks its own pages, the side effect is in chrome is breaking the ads too.

even a random filter has the same effect => no ad ! (even disabling ALL the lists in chrome)

o2.pl##+js(aopr, wertgwrtg)

for firefox:

o2.pl##^script:has-text(/adsFirstRegisterSlot|wp_abtest/)
o2.pl##[role="presentation"]:upward([style])
o2.pl##[role="presentation"][class]:upward(1)
o2.pl##[src*="adP"]:upward(1)

mapx- : https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-744013193
even a random filter has the same effect => no ad ! (even disabling ALL the lists in chrome)

o2.pl##+js(aopr, wertgwrtg)

Also have noticed two more things on Opera:


anti-adblock screenshoot

capture_020_13-12-2020_15-15-54

  • and also it seems the inject filters are causing another breakage as well: the GDPR message is broken: pressing an accept button "AKCEPTUJ臉 I PRZECHODZ臉 DO SERWISU" doesn't work, the message won't close:


broken GDPR message screenshoot


capture_021_13-12-2020_15-19-25

yeah, I saw the videos are coming from wp.pl, even disabling all wp.pl filters does not run at all

However, in FF, with the last filters above the videos seem to be ok

mapx- : https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-744014869 :
for firefox:

o2.pl##^script:has-text(/adsFirstRegisterSlot|wp_abtest/)
o2.pl##[role="presentation"]:upward([style])
o2.pl##[role="presentation"][class]:upward(1)
o2.pl##[src*="adP"]:upward(1)

mapx- : https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-744015758
yeah, I saw the videos are coming from wp.pl, even disabling all wp.pl filters does not run at all

However, in FF, with the last filters above the videos seem to be ok

garry-ut99 : https://github.com/uBlockOrigin/uAssets/issues/8261#issuecomment-744018382 :

  • it is back, white page, it doesn't happen everytime, randomly, sometimes
  • just an idea, perhaps the new/experimental filters aost or no-fetch-if could help (not compatible with uBO legacy I know, still if you find a good solution with typical filters it will be best) (hmm no-fetch-if rather not helpful here)

It does not work in chrome, they are doing something else and the scriptlets are .. detected and neutralized (some race condition too)

  • yes, I've noticed they are detecting and neutralising uBO / AG / ABP scriplets here (hence white page):
if (!i && a) 
{
    var l = a.toString();
    l && (l.includes('[native code]') 
    || (l.includes('if (mustCancel') 
    || l.includes('function set() {}') ? i = 'AG' : l.includes('set() {}') 
    || l.includes('prevSetter.call(this') 
    || l.includes('wrapPropertyAccess(newValue') ? i = 'ABP' : (l.includes('if ( mustAbort') 
    || l.includes('function(){}') 
    || l.includes('prevSetter !== undefined')) && (i = 'uBO')))
}
  • in AdGuard Browser Extension there are no ads on www.o2.pl , I see they fixed the ads on the website by their replace filter:

||o2.pl^$replace=/(^(WP\.[\s\S]*?\.bodies)=WP\.[\s\S]*?\.bodies\|\|\{\};[\s\S]*\n)|((display:\\s\*)none(\\s\*!important)|((\.hostname;function .\(\)|\,.=function\(\))\{return) .===[\S]*?(\}))/\$4\$5\$6\$8/,script

  • also the website generates random property like: WP.bgdemoqp.bodies

for me no ads with my filter:

o2.pl##+js(set, Ni, noopFunc) 馃

but anti-adblock in video player here:

https://www.o2.pl/plotki/niezwykla-zmiana-wygladu-cezarego-pazury-operacja-sie-udala-6586627125426976a

Fixed AA:
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$script,domain=o2.pl

PIZZA90 : for me no ads with my filter: o2.pl##+js(set, Ni, noopFunc)

  • doesn't work, neither in Opera nor in Firefox


  • I've noticed there is no ads on www.o2.pl & www.wp.pl in Opera/Chromebrowsers with AdGuard Base list enabled, so AdGuard fixed ads, but not in Firefox,
  • as for www.wp.pl AdGuard fixed ads with this filter: www.wp.pl##+js(abort-on-property-read, __headpayload)
  • as for www.o2.pl not sure which filter/s they used to fix ads, but it wasn't any +js filter
    _ADDED: they just added some cosmetcis for ads on o2.pl, but some ads still leaking...so that's not best solution_
Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

krystian3w picture krystian3w  路  3Comments

igitur picture igitur  路  3Comments

Htin picture Htin  路  4Comments

patrickdrd picture patrickdrd  路  3Comments