FrostCo / AdvancedProfanityFilter

A browser extension to filter profanity from webpages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filtering issues with Crunchyroll

Commonman7 opened this issue Β· comments

πŸ› Description

Has stopped filtering on Crunchyroll

It looks like they updated their subtitle language keys to match the beta version of the site. If you want to get it working again now, I recommend either using the Crunchyroll beta site, or you can add the following to your Custom Audio Sites config (Options page > Audio tab):

{
  "www.crunchyroll.com": [
    {
      "apfCaptions": true,
      "apfCaptionsSelector": "vilosVttJs",
      "displaySelector": "canvas#velocity-canvas",
      "externalSub": true,
      "externalSubTrackMode": "hidden",
      "externalSubVar": "window.v1config.media.subtitles",
      "iframe": true,
      "mode": "cue",
      "videoCueLanguage": "en-US",
      "videoCueRequireShowing": false,
      "videoSelector": "video#player0"
    }
  ]
}

(The only change is videoCueLanguage: enUS to en-US)

If you do end up using the custom config above, make sure to remove it after the update.

I'll try to get a new version out soon that will update the built-in config.

You're welcome @Commonman7. Thanks for reporting the issue. It should now be fixed in version 2.38.1. Let me know how it goes for you, and remember to remove the config posted in the comment above. Thanks!