olegwukr / polish-privacy-filters

GNU General Public License v3.0
26 stars 6 forks source link

player.pl #67

Closed seba2282 closed 5 years ago

seba2282 commented 5 years ago

https://player.pl/programy-online/kuchenne-rewolucje-odcinki,114 56274302-c8e63300-60fe-11e9-8fca-de9297007bb8 To jest przykład. Czy da się coś z tym zrobić? Będę wdzięczny

seba2282 commented 5 years ago

Jaka Alexia?

krystian3w commented 5 years ago

https://www.alexa.com/siteinfo, https://github.com/AdguardTeam/AdguardFilters/issues/29491#issuecomment-462202014

lain566 commented 4 years ago

I wonder if this issue is fixed, Gorhill added a new scriptlet, and it seems to work on this site, at least for me.

krystian3w commented 4 years ago

Gorhill added a new scriptlet

json-prune? IMO still bugged with uBO without Nano Defender.

lain566 commented 4 years ago

Yes, Does this filter work for you? player.pl##+js(json-prune, advertising)

krystian3w commented 4 years ago

Nope with uBO dev on Firefox 70:

😞

Wystąpił błąd

W serwisie player.pl wystąpił nieoczekiwany błąd. Spróbuj ponownie. Nadal nie działa? Sprawdź w Centrum Pomocy player, co możesz zrobić w takiej sytuacji.

Kod błędu: LO/I/ED 727

obraz
lain566 commented 4 years ago

test link?

krystian3w commented 4 years ago

https://github.com/olegwukr/polish-privacy-filters/issues/67#issue-434216862 - first from topic.

Maybe guilty glitch with test upgrade uBO 1.14.X to uBO 1.22.4 and to uBO dev 1.23.X

hawkeye116477 commented 4 years ago

For me this rule works great on Vivaldi 2.8.1664.44 with uBO Dev.

lain566 commented 4 years ago

look, works for me.

Screenshot_2019-11-11 Kuchenne rewolucje - program online, Oglądaj na Player pl

krystian3w commented 4 years ago

Still bugged after remove uBO, reboot broswer, install stable 1.23.0. I suppose help only new profile form about:profiles (not profitable for one website as it is for me).

I recommend test / review of recordings from several years (to exclude any variations of different versions code of the player).

krystian3w commented 4 years ago

I found glitch:

firefox need:

x-news.pl,x-link.pl##+js(json-prune, advertising)

not:

player.pl##+js(json-prune, advertising)

// ==UserScript==
// @name         Player.pl
// @namespace    NDAG
// @version      0.1.2.1
// @description  Odtwarzanie filmów na player.pl bez Nano Defender dla uBlock Origin / Nano Adblocker, AdGuard ma zintegrowane odpowiednie filtry skryptowe lub oparte na modyfikatorze replace.
// @author       Jspengiuin2017, AdamWr 
// @icon         data:image/png;base64,
// @match        *://*itvn.pl/*
// @match        *://*itvnextra.pl/*
// @match        *://*kuchniaplus.pl/*
// @match        *://*miniminiplus.pl/*
// @match        *://*ttv.pl/*
// @match        *://*tvn.pl/*
// @match        *://*tvn24.pl/*
// @match        *://*tvn24bis.pl/*
// @match        *://*tvn7.pl/*
// @match        *://*tvnfabula.pl/*
// @match        *://*tvnstyle.pl/*
// @match        *://*tvnturbo.pl/*
// @match        *://*x-news.pl/*
// @match        *://*x-link.pl/*
// @match        *://*player.pl/*
// @grant        none
// @run-at       document-start
// ==/UserScript==
krystian3w commented 4 years ago

And how convert this into aeld.js:

window.addEventListener("contextmenu", function(a) {
    a.stopPropagation()
}, !0);

@latin566 moved this here https://www.reddit.com/r/uBlockOrigin/comments/duyoh4/playerpl_faktyinteriapl/

lain566 commented 4 years ago

Works fine on Firefox 70.0.1 (stable) with uBO 1.23.0 I think the mistake is on your side

krystian3w commented 4 years ago

Try with:

security.csp.enable;false

for few scriptlet needed disabling (instargam.com https://github.com/uBlockOrigin/uAssets/issues/4959), and I suppose glitched with json-prune.

lain566 commented 4 years ago

Are you using the default settings?

krystian3w commented 4 years ago

Yes and disabled this flag in about:config (also disabled Firefox Tracking Protection).

lain566 commented 4 years ago

The filter works with Tracking Protection enabled. I don't know the changes you made to the browser, but someone using a browser with the default settings would help me.

krystian3w commented 4 years ago

I reverted security.csp.enable; @uBlock-user scriplet "set-attr" now work fine with instagram video player + Firefox 70.

krystian3w commented 4 years ago

Still no help - after reinstal Windows 10 + Firefox 71:

W serwisie player.pl wystąpił nieoczekiwany błąd. Spróbuj ponownie. Nadal nie działa? Sprawdź w Centrum Pomocy player, co możesz zrobić w takiej sytuacji.

Kod błędu: LO/I/ED 727

Works only after force refresh - so AdGuard scriplet moved to ViolentMonkey script still works better.

lain566 commented 4 years ago

Works only after force refresh

Not for me. I'm using Firefox 71, like you. It seems that hawkeye116477 has no problems with the filter https://github.com/olegwukr/polish-privacy-filters/issues/67#issuecomment-552592763

I'm going to add this to uBlock filters for the uBO users

krystian3w commented 4 years ago

Now comeback:

obraz

not error: LO/I/ED 727

krystian3w commented 4 years ago

Also we can add this:

itvn.pl,itvnextra.pl,kuchniaplus.pl,miniminiplus.pl,player.pl,ttv.pl,tvn.pl,tvn24.pl,tvn24bis.pl,tvn7.pl,tvnfabula.pl,tvnstyle.pl,tvnturbo.pl,x-link.pl,x-news.pl##+js(aeld, contextmenu, a)

seba2282 commented 4 years ago

@krystian3w Me works normal with all filters UBO + PL filters + NoCoin + Web Annoyances Ultralist + FFA Bogachenko. But without bonus filters mean my filters some bundled filter ubo don't remove that Anti adblock. Remember which filter and rule remove problems on player.pl domains? I know was problem when do not track didn't turn on, then always was that thing. After turn on do not track, monit about anti adblock gone.

lain566 commented 4 years ago

I can add something like this player.pl##+js(set, $.contextMenu, noopFunc)

    var playersCollection = new PlayersCollection;
    $.contextMenu({
        selector: ".video-js",
        items: {
            tvn: {
                name: "TVN S.A.",
                disabled: !0
            }
        }
    })

I don't know if it works for all those domains.

krystian3w commented 4 years ago

Demo url:

https://get.x-link.pl/cec5a8a7-01a9-97fc-3b25-df54e65f13d5,67c86e31-a87b-10f5-4d6c-9b156cba61f2,embed.html

set filter also works.

lain566 commented 4 years ago

Demo url:

https://get.x-link.pl/cec5a8a7-01a9-97fc-3b25-df54e65f13d5,67c86e31-a87b-10f5-4d6c-9b156cba61f2,embed.html

set filter also works.

I get this Anotación 2020-02-06 002818

krystian3w commented 4 years ago

Disable http refferer overidder.

Interia.pl moved video to other platform:

https://r.dcs.redcdn.pl/file/o2/TVN-Xnews/TVN/asset-32fc9c2c-1b57-4b97-91fe-bc766648c867/VIDEO_720P.mp4?salt=E032C653BD073D6629917EE38E946C6F&token=E6450D244426AB28042531F78C56CADD228E49363565276946E284AEB150D8170D136B8B37A83111CB7608685FE43FC9795F7A6F3B0A45351E8B627B88FA9CA41B472AFF561BA3C5A0CB4E2AB4E90DB3675F297C3743FC5ED27D7CEF54D0ECA77DC0406C09363A469E82F10FE12C3112&dcsrbCustom=9352
krystian3w commented 4 years ago

And this is RAW html5 player...

Test maybe videos on rp.pl in the past used get.x-link.pl.

krystian3w commented 4 years ago

@lain566 new test url:

https://get.x-link.pl/cec5a8a7-01a9-97fc-3b25-df54e65f13d5,67c86e31-a87b-10f5-4d6c-9b156cba61f2,embed.html

on

https://fakty.interia.pl/polska/news-kandydaci-do-trybunalu-konstytucyjnego-krystyna-pawlowicz-po,nId,3316776

lain566 commented 4 years ago

I still get the same message, anyway, your solution was added to Annoyances filter list.