Updated extension to work with latest YouTube API#1
Open
Venryx wants to merge 2 commits intoRobotCopy:masterfrom
Open
Updated extension to work with latest YouTube API#1Venryx wants to merge 2 commits intoRobotCopy:masterfrom
Venryx wants to merge 2 commits intoRobotCopy:masterfrom
Conversation
…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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog:
getYouTubeCaptionURL()to work with latest YouTube API. (it no longer has a workingget_video_infoendpoint)generateProfanityList()to also match on[ __ ]text in subtitles. (which is what most profanity is now replaced with within the YouTube subtitles text)