Hide the "sign-in" and cookies dialogs. Prevent the dialogs from pausing the video.
To są wersje tego skryptu, gdzie kod został zaktualizowany. Pokaż wszystkie wersje.
fix for new consent.youtube.com buttons (At last! Long time waiting to see this page)
fix: handling of new cookie dialog (2 buttons)
could prevent pausing video in a valid situation (caused by function name modified) (you could hear the sound of the old video in the background)
bug: race condition. Injecting the stylesheet and the player patcher could fail (on chrome). (chrome + tampermonkey, documentElement null)
fixed race condition. Added new method to catch the player functions as soon as possible.
bug: race condition. player is stopped by the dialog before it appears to the userscript. Temp solution: playVideo() is left unchanged.
Using an argument when there is none (called by event) - my bad
GDPR/cookie dialog not an iframe anymoreanti-autopause works again
new GDPR dialog ; better handling of player patching
backdrop overlay has a different name. Always hidden now.
Small fix for updated GDPR cookie consent page