Skip to content

Updated extension to work with latest YouTube API #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Venryx
Copy link

@Venryx Venryx commented Mar 1, 2022

Changelog:

  • Fixed getYouTubeCaptionURL() to work with latest YouTube API. (it no longer has a working get_video_info endpoint)
  • Fixed generateProfanityList() to also match on [ __ ] text in subtitles. (which is what most profanity is now replaced with within the YouTube subtitles text)
  • Fixed that the "complete" group-boxes for the profanity-list were shown in the "nested" column, and vice-versa.
  • Added new setting, which defaults to false, rather than the old behavior of true: Mute generics ("[music]", "[applause]", etc.)
  • Made-so the "square" element (saying overview of amount of profanity and such) has "pointer-events:none"; this fixes that the square was blocking mouse inputs to controls behind it, in some cases.
  • Made-so the "current video-id" is checked if it needs updating once per second. (the checking process is very fast, as it just reads from the URL; and this fixes some url-changing cases that are not handled by the existing listeners)
  • Cleaned up the code in some places.
  • Added "butter" to the list of word-exceptions.
  • Removed "suck" from the "explicitNested" list. (too many false-positives)

…ch does not have the get_video_info endpoint, but instead includes that info in the page itself)

* Fixed generateProfanityList to also match on "[__]" text in subtitles. (which is what most profanity is now replaced with within the YouTube subtitles text)
* Fixed that the "complete" group-boxes for the profanity-list were shown in the "nested" column, and vice-versa.
* Added new setting, which defaults to false, rather than the old behavior of true: Mute generics ("[music]", "[applause]", etc.)
* Made-so the "square" element (saying overview of amount of profanity and such) has "pointer-events:none"; this fixes that the square was blocking mouse inputs to controls behind it, in some cases.
* Cleaned up the code in some places.
* Added "butter" to the list of word-exceptions.
…e "initial-load video". (eg. clicking on another video would keep using the old caption-data)

* Made-so the "current video-id" is checked if it needs updating once per second. (the checking process is very fast, as it just reads from the URL; and this fixes some url-changing cases that are not handled by the existing listeners)
* Removed "suck" from the "explicitNested" list. (too many false-positives)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant