uBlockOrigin / uMatrix-issues

This is the community-maintained issue tracker for uMatrix
https://github.com/gorhill/uMatrix
123 stars 17 forks source link

Issue with subtitles on Crunchyroll #173

Closed ghost closed 5 years ago

ghost commented 5 years ago

Prerequisites

Description

When Umatrix is used in Crunchyroll the subtiles wont appear on the video. The subtitle won't appear even if Umatrix is turned off for the site. Also, the logger states the Subtiles are being loaded in, but it never shows up.
" 08:52:46
static.crunchyroll.com   xhr https://static.crunchyroll.com/vilos/libass/both/subtitles-octopus-worker.js.mem  
08:52:46 static.crunchyroll.com   xhr https://static.crunchyroll.com/vilos/libass/both/subtitles-octopus-worker.wasm  
08:52:46 static.crunchyroll.com   xhr https://static.crunchyroll.com/vilos/libass/both/subtitles-octopus-worker.data  
08:52:46 www.crunchyroll.com   script https://static.crunchyroll.com/vilos/libass/both/subtitles-octopus-worker.js  
08:52:46 www.crunchyroll.com   worker https://static.crunchyroll.com/vilos/libass/both/subtitles-octopus-worker.js

"

A specific URL where the issue occurs

https://www.crunchyroll.com/ {random anime} https://www.crunchyroll.com/to-the-abandoned-sacred-beasts/episode-1-untitled-786826

Steps to Reproduce

  1. Go to Crunchyroll.com
  2. Select any anime to stream
  3. Bam! no subtitles.

Ruleset

noscript-spoof: www.crunchyroll.com false referrer-spoof: www.crunchyroll.com false https-strict: www.crunchyroll.com false

www.crunchyroll.com akamaized.net allow www.crunchyroll.com akamaized.net frame allow www.crunchyroll.com drmtoday.com allow www.crunchyroll.com drmtoday.com frame allow www.crunchyroll.com etp-prod.com allow www.crunchyroll.com etp-prod.com frame allow www.crunchyroll.com static.crunchyroll.com allow www.crunchyroll.com static.crunchyroll.com xhr allow www.crunchyroll.com vrv.co * allow www.crunchyroll.com vrv.co frame allow

Supporting evidence

the evidence is just watching an anime, you will see what i am talking about

Your environment

uBlock-user commented 5 years ago

https://www.crunchyroll.com/to-the-abandoned-sacred-beasts/episode-1-untitled-786826

Redirects to home page. Provide a specific link.

uBlock-user commented 5 years ago

The subtitle won't appear even if Umatrix is turned off for the site.

Turned off how ? Disabled via browser ?

gorhill commented 5 years ago

Unable to reproduce, all worked fine with:

crunchyroll.com akamaized.net * allow
crunchyroll.com drmtoday.com * allow
crunchyroll.com etp-prod.com * allow
crunchyroll.com vrv.co * allow

I used the logger to rule out that the issue is caused by my ruleset

The logger shows why it didn't work, dl.v.vrv.co is needed in the context of static.crunchyroll.com, so there was no ground to report an issue here.

Seriously, such invalid and time-wasting reports are really getting tiresome, to the point where I am actually entertaining archiving the project for good.

uBlock-user commented 5 years ago

The logger shows why it didn't work, dl.v.vrv.co is needed in the context of static.crunchyroll.com, so there was no ground to report an issue here.

So even after disabling uMatrix on crunchyroll won't work ?

gorhill commented 5 years ago

So even after disabling uMatrix on crunchyroll won't work ?

I didn't make the statement that it does not work when uMatrix is "disabled", OP did, and it's also wrong.

uBlock-user commented 5 years ago

It doesn't work when I disable uMatrix with www.crunchyroll.com as the scope level instead of crunchyroll.com. I suppose that's by-design.

gorhill commented 5 years ago

Right, I had disabled in the crunchyroll.com context. So this was just the same issue, creating rules in the wrong context and blaming uMatrix. Addendum: Disabling on www.crunchyroll.com makes the root cause even more obvious, as the entries static.crunchyroll.com | -- | xhr | https://dl.v.vrv.co/... stand out even more prominently in the logger.