NanoAdblocker / NanoFilters

Script snippets and filters
GNU General Public License v3.0
126 stars 28 forks source link

[Anti-adblock] wp.pl #369

Open MateuszChilinski opened 5 years ago

MateuszChilinski commented 5 years ago

URLs where this issue occurs (Required)

https://sportowefakty.wp.pl/siatkowka/830316/siatkowka-bartosz-kurek-nie-zagra-w-kwalifikacjach-olimpijskich https://sportowefakty.wp.pl/*

Screenshots (Required)

image

Screenshot of console (Required, press F12 to open the console)

image

Describe the issue (Optional if obvious)

Actually, most of pages on wp.pl/ work fine, though sportowefakty.wp.pl/ seems to have additional anti-adblock.

I am also pretty sure that they have added it recently (to that subdomain ofc.)

Reproduction Steps (Optional if trivial)

Go to any page on https://sportowefakty.wp.pl/

Environment (Required)

Your filter lists (Required)

image

Your other extensions (Required if you have any)

image

mapx- commented 5 years ago

add sportowefakty.wp.pl#@#+js(abort-on-property-read.js, WP.inline)

@MajkiIT

MajkiIT commented 5 years ago

@mapx- Thanks https://github.com/MajkiIT/polish-ads-filter/commit/4d55cca19ed1b509e7633879ee5a13407270b28f

MateuszChilinski commented 5 years ago

Issue solved, thanks for fast reaction guys :-)

MateuszChilinski commented 5 years ago

They must have changed something, as anti-adblock started working again.

jspenguin2017 commented 5 years ago

@okiehsch

okiehsch commented 5 years ago

wp.pl#@#+js(set-constant, Object.prototype.bodies, true)

jspenguin2017 commented 5 years ago

@okiehsch This is still not resolved. Also it looks like all subdomain of wp.pl are having this issue. image

okiehsch commented 5 years ago

I can't reproduce the anti-adblock message. image

jspenguin2017 commented 5 years ago

@okiehsch Do you have Polish regional filters enabled? Your screenshot has ads showing.

okiehsch commented 5 years ago

image

okiehsch commented 5 years ago

They have removed the filter I mentioned. wp.pl##+js(set-constant, Object.prototype.bodies, true)

okiehsch commented 5 years ago

Check that, they have commented it out. image

MajkiIT commented 5 years ago

@okiehsch https://github.com/NanoMeow/QuickReports/issues/1706#issuecomment-524139515

okiehsch commented 5 years ago

@MajkiIT thanks for the heads up.

As far as I understand wp.pl##+js(set-constant, Object.prototype.bodies, true) was used by your list to get rid of the ads that I can see now.

You can reinstate that filter and add

wp.pl##+js(overlay-buster.js)
wp.pl##body > [class]:style(filter: none!important;)

I can see the anti-adblock message for a split second but I can use the site, so if you prefer that solution ....

MajkiIT commented 5 years ago

@okiehsch Thanks a lot. I will add this rules.

krystian3w commented 5 years ago

WP.DOMAINS##body > [class]:style(filter: none!important;) Nano Adblocker no remove blur?

jspenguin2017 commented 5 years ago

Ah, I see. Need some UserCSS.

krystian3w commented 5 years ago

PS. And poczta.wp.pl (e-mail service) after logon no have this pop-up.

krystian3w commented 5 years ago

WP broke scriplet on:

https://turystyka.wp.pl/ugasmyplucaswiata-wojciech-cejrowski-o-pozarach-w-amazonii-6417008617936513a

See:

<body (...) style="overflow-x: auto !important; overflow-y: auto;"> - how made it hack scrolling?


temporary workaround:

turystyka.wp.pl##html > body > div#app:style(overflow: auto !important;)
jspenguin2017 commented 5 years ago

It seems to scroll fine for me...

krystian3w commented 5 years ago

https://github.com/MajkiIT/polish-ads-filter/issues/14507

@gwarser said: https://github.com/MajkiIT/polish-ads-filter/issues/14507#issuecomment-524649263

"overflow is being reset by something delayed".


Try reject/accept cookies:

obraz

bacause this pop-up it can be displayed above all - and it can be distorted overidde overflow by WP scriplets.

This pop-up can't by blocked / hidden by overlay-buster, because block all embeded WP video's in articles, also break read more than 5 comments on sportowe fakty wp pl articles.

for uBO can work block only all /*! ! WPJSlib 2.3.318 (2019-08-23 12:06:54) */ but js file has randrom name...:

/b3RvQ2h1TVIzFCcBR0pAR3BMc1EYWT1AJhJzHkpuQAlwKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPWwNKQ5tN249bA0pDm03bj1sDSkObTduPRF-VCQQUhNNRCIcIl4BU00BfEV_AVkJTUQiHCJeAVNPUDoDP1lFXw1HOxA4UQlFC1w8WDtBSkw=

https://www.diffchecker.com/FEerykxL

jspenguin2017 commented 5 years ago

After accepting cookies, the website works fine.

krystian3w commented 5 years ago

So maybe bug with Gecko/Quantum/Servo in Firefox.

krystian3w commented 5 years ago

@gwarser found possible guilty: https://github.com/MajkiIT/polish-ads-filter/issues/14507#issuecomment-524651313 WP script hacks overlay-buster:

obraz