Removes any overlay youtube might put on top of the video player that isn't important, like the branding watermark or product ads from the channel, for slightly better video visibility.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
YT RemoveWatermark Optimization
Removing some useless code as it doesn't seem like they'll be changing how it works for good while.
Fixed userscript not loading in a few cases
Youtube being a single page app disguised as a multi page app made it so just matching the url wasn't enough for loading the userscript as it didn't trigger a check from scriptrunners like Tampermonkey. In other words the userscript has to always be running anywhere on Youtube, otherwise it won't work.