uBlockProtector icon indicating copy to clipboard operation
uBlockProtector copied to clipboard

wiadomosci.wp.pl

Open jspenguin2017 opened this issue 9 years ago • 52 comments

@lain566 https://github.com/jspenguin2017/uBlockProtector/issues/384#issuecomment-315177534

Test link: https://wiadomosci.wp.pl/tvp-info-przekracza-kolejne-granice-zobaczcie-jak-nazwali-kontrmanifestantow-6142973419370113a

jspenguin2017 avatar Jul 14 '17 15:07 jspenguin2017

Possible workaround (by @lain566 ):

||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$script,redirect=noopjs,domain=wiadomosci.wp.pl
||static.criteo.net/js/ld/publishertag.js$script,redirect=noopjs,domain=wiadomosci.wp.pl

@@||wp.hit.gemius.pl/gplayer.js$script,domain=wiadomosci.wp.pl
@@||wp.hit.gemius.pl/gdejs/xgde.js$script,domain=wiadomosci.wp.pl

jspenguin2017 avatar Jul 14 '17 15:07 jspenguin2017

Try this rule only, player does not disappear

||wiadomosci.wp.pl/*$xmlhttprequest

lain566 avatar Jul 14 '17 17:07 lain566

Yea but it doesn't play neither...

jspenguin2017 avatar Jul 14 '17 17:07 jspenguin2017

The whole wp.pl thing is exhausting, I'll just wait for someone to find a solution and add it.

jspenguin2017 avatar Jul 14 '17 17:07 jspenguin2017

Try wiadomosci.wp.pl#@#script:inject(abort-on-property-write.js, habahaba) Thanks to @hawkeye116477 I added the following rules to uBlock Origin and everything is OK now:

||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$script,redirect=noopjs,domain=wiadomosci.wp.pl
||static.criteo.net/js/ld/publishertag.js$script,redirect=noopjs,domain=wiadomosci.wp.pl
@@||wp.hit.gemius.pl/gplayer.js$script,domain=wiadomosci.wp.pl
@@||wp.hit.gemius.pl/gdejs/xgde.js$script,domain=wiadomosci.wp.pl
wiadomosci.wp.pl#@#script:inject(abort-on-property-write.js, habahaba)

EDIT: Unfortunately it doesn't work anymore.

adreporter avatar Jul 14 '17 18:07 adreporter

Doesn't seem to work on this one though: https://wiadomosci.wp.pl/archiwalna-wypowiedz-blaszczaka-kiedys-skrytykowal-po-a-teraz-pis-robi-to-samo-6142419287754369a

jspenguin2017 avatar Jul 14 '17 18:07 jspenguin2017

I pushed out an update, since my XHR goes through the background page, it is not interfered by uBO. Add ||wiadomosci.wp.pl^$xmlhttprequest and it will work for the first video, but the rest of the page won't load.

jspenguin2017 avatar Jul 14 '17 19:07 jspenguin2017

We just need to pin down which XHR is responsible for hiding the video.

jspenguin2017 avatar Jul 14 '17 20:07 jspenguin2017

I am able to grab the removed node, but I can't put it back in... Its parent has randomized class name...

jspenguin2017 avatar Jul 14 '17 20:07 jspenguin2017

I added an anti-collapsing observer, can someone update Extension and test? Also what about other domains?

jspenguin2017 avatar Jul 14 '17 21:07 jspenguin2017

OK, seems like all the wp domains are working correctly.

adreporter avatar Jul 14 '17 21:07 adreporter

Do the videos work for you on these sites? https://parenting.pl/chlopcy-bardziej-poszkodowani-biernym-paleniem https://portal.abczdrowie.pl/czy-film-az-do-kosci-gloryfikuje-anoreksje The videos show up but I can't play them dsdsdsd

adreporter avatar Jul 14 '17 21:07 adreporter

image I think it's something else...

jspenguin2017 avatar Jul 14 '17 21:07 jspenguin2017

"Sorry, the video is unavailable in your country"

adreporter avatar Jul 14 '17 21:07 adreporter

Well...

jspenguin2017 avatar Jul 14 '17 21:07 jspenguin2017

@jspenguin2017 Updated extension and confirm, now all movies on wiadomosci.wp.pl works without these 2 rules on Vivaldi/Chromium 59.0.3071.112..

hawkeye116477 avatar Jul 14 '17 21:07 hawkeye116477

@jspenguin2017 Check here: https://portal.abczdrowie.pl/4-sposoby-na-oczyszczenie-tetnic-ze-zlogow-tluszczowych/2 It should work for you as it is working for me.

Unfortunately on https://portal.abczdrowie.pl/czy-film-az-do-kosci-gloryfikuje-anoreksje I see this aassa

adreporter avatar Jul 14 '17 21:07 adreporter

Looks like the play button is covered...

jspenguin2017 avatar Jul 14 '17 21:07 jspenguin2017

This works... https://portal.abczdrowie.pl/pij-go-codziennie-rano-a-schudniesz-kilkanascie-kilogramow-w-miesiac

jspenguin2017 avatar Jul 14 '17 21:07 jspenguin2017

Oh no, the player disappears again...

adreporter avatar Jul 14 '17 21:07 adreporter