AdguardTeam / AdguardFilters

AdGuard Content Blocking Filters
https://adguard.com/
GNU General Public License v3.0
3.23k stars 639 forks source link

www.sbs.com.au #176723

Closed adguard-bot closed 7 months ago

adguard-bot commented 7 months ago

Issue URL (Anti Adblock Script)

https://www.sbs.com.au/ondemand/watch/365842499745

Screenshots

Screenshot 1 ![Screenshot 1](https://cdn.adguard.info/sitereports/w3pf824qisggosggkk8c80gk8s0scs4h4sjwl7b0cg.png?nc=1)

System configuration

Information Value
AdGuard product: AdGuard for Mac v2.13.0.1558 release
System version: macOS 14.4.1
Browser: Safari
License type: paid
Stealth mode: disabled
DNS filtering: server: https://dns.adguard-dns.com/dns-query
filters: https://filters.adtidy.org/mac_v2/filters/15.txt
Filters: Ad Blocking:
AdGuard Base

Language-specific:
AdGuard Russian,
AdGuard German,
AdGuard Japanese,
Adblock List for Finland,
Dandelion Sprout's Nordic Filters
Userscripts: AdGuard Extra (url: https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.user.js)
adguard-bot commented 7 months ago

Issue URL (Incorrect Blocking)

https://www.sbs.com.au/ondemand/

Comment

Trying to stream anything does not work at all. I just get a 'ad blocker detected' error message which prevents me from streaming video. Username: @Sliceanddice9

Screenshots

Screenshot 1 ![Screenshot 1](https://cdn.adguard.info/sitereports/rlohvvl6ty8gs4g8o0g8skwkow0oskc40k94wgsqzu.jpg?nc=1)
Screenshot 1 with AdGuard disabled ![Screenshot 1](https://cdn.adguard.info/sitereports/mcual87osmsc4s8go84gocwwwc4cwgg4tigzba2e1o.jpg?nc=1)

System configuration

Information Value
AdGuard product: AdGuard Browser Extension v0.4.29
System version: Android 10 Colour OS 7.1
Browser: Kiwi Browser
Stealth mode: disabled
Filters: Ad Blocking:
AdGuard Base
Other extensions used: UBlock Origin, urban VPN Proxy, Violentmonkey, Fullscreen
sliceanddice9 commented 7 months ago

I am talking about the MV3 version of the AdGuard Browser Extension.

sliceanddice9 commented 7 months ago

This does not solve the problem with the MV3 version of the AdGuard extension for www.sbs.com.au.

Also, with the regular version of the AdGuard extension for www.sbs.com.au - the ads are successfully blocked HOWEVER the watch history sync function on www.sbs.com.au is BROKEN.

If I watch say 15 minutes of one show or movie I can't resume where I left off the next time I go back to return to that show or movie because said show or movie would just reset from the beginning. So the show/movie would not get added to the 'Continue Watching' section.

AdamWr commented 7 months ago

This does not solve the problem with the MV3 version of the AdGuard extension

As far as I know, MV3 version cannot update filters, so it's required to wait as new version of extension will be released. As a temporary solution, you can add the rule which was added to Base filter, to user rules:

sbs.com.au#%#(()=>{const e=window.Promise,o={construct:(o,t,n)=>t[0]&&t[0]?.toString()?.includes("[!1,!1,!1,!1]")&&t[0]?.toString()?.includes(".responseText")?e.resolve(!1):Reflect.construct(o,t,n)},t=new Proxy(window.Promise,o);Object.defineProperty(window,"Promise",{set:e=>{},get:()=>t})})();

Also, with the regular version of the AdGuard extension for www.sbs.com.au - the ads are successfully blocked HOWEVER the watch history sync function on www.sbs.com.au is BROKEN.

Is it a new issue? And does it happen with only AdGuard Base filter enabled or is it caused by another filter list?

AdamWr commented 7 months ago

I was able to reproduce the problem with history sync function and have modified a rule, it should fixes a problem (at least it worked fine on my end). Please update filters after about 2 hours and then check again.

sliceanddice9 commented 7 months ago

Hi Adam

Thanks for your help thus far.

I added this rule to user rules on the MV3 version of the AdGuard extension - sbs.com.au#%#(()=>{const e=window.Promise,o={construct:(o,t,n)=>t[0]&&t[0]?.toString()?.includes("[!1,!1,!1,!1]")&&t[0]?.toString()?.includes(".responseText")?e.resolve(!1):Reflect.construct(o,t,n)},t=new Proxy(window.Promise,o);Object.defineProperty(window,"Promise",{set:e=>{},get:()=>t})})();

That rule does successfully get the videos on sbs.com.au to play ad-free via the MV3 version of the AdGuard extension, however the history sync function does not work. It's exactly the same thing as the regular version of the AdGuard extension as well; which via the AdGuard Base Filter also allows me to stream video ad-free but with no history sync functionality either.

The AdGuard Base Filter on the regular version of the AdGuard extension is the only Adblocking filter that will actually let me stream on sbs.com.au. The other filters like Easylist & AdGuard Mobile Ads filter when one or both are enabled and with AdGuard Base Filter disabled, give me a 'Adblocker Detected Video Play Error' message.

When all 3 of AdGuard Base Filter, Easylist & AdGuard Mobile Ads filter are enabled at the same time videos will play, but the history sync function issue remains.

I was able to reproduce the problem with history sync function and have modified a rule, it should fixes a problem (at least it worked fine on my end). Please update filters after about 2 hours and then check again.

So this is for the regular version of the Adguard extension? And are you saying that videos on sbs.com.au will play ad-free and also with the history sync function in tact too?

AdamWr commented 7 months ago

So this is for the regular version of the Adguard extension? And are you saying that videos on sbs.com.au will play ad-free and also with the history sync function in tact too?

Yes, after filters update it should be like that.

Regarding MV3 version of the AdGuard extension, as it cannot update filters, then in addition to previously added rule, as a temporary solution you can add these rules:

sbs.com.au#@%#//scriptlet('m3u-prune', '/redirector\.googlevideo\.com\/videoplayback\?[\s\S]*?dclk_video_ads/', 'pubads.g.doubleclick.net/ondemand/hls/')
sbs.com.au#%#//scriptlet('m3u-prune', '/redirector\.googlevideo\.com\/videoplayback\?[\s\S]*?dclk_video_ads/', '.m3u8')

to user rules, it should fixes history sync function.

sliceanddice9 commented 7 months ago

So this is for the regular version of the Adguard extension? And are you saying that videos on sbs.com.au will play ad-free and also with the history sync function in tact too?

Yes, after filters update it should be like that.

Regarding MV3 version of the AdGuard extension, as it cannot update filters, then in addition to previously added rule, as a temporary solution you can add these rules:

sbs.com.au#@%#//scriptlet('m3u-prune', '/redirector\.googlevideo\.com\/videoplayback\?[\s\S]*?dclk_video_ads/', 'pubads.g.doubleclick.net/ondemand/hls/')
sbs.com.au#%#//scriptlet('m3u-prune', '/redirector\.googlevideo\.com\/videoplayback\?[\s\S]*?dclk_video_ads/', '.m3u8')

to user rules, it should fixes history sync function.

Thank you! I added those 2 extra rules to the MV3 version of the AdGuard extension on both my devices (phone & tablet), and can happily report that the user rules work on sbs.com.au with ad-free streaming playback & with the history sync function in tact as well.

I really appreciate it Adam.