Youtube - dismiss sign-in

Hide the "sign-in" and GDPR dialogs (agree). Prevent the dialogs from pausing the video.

As of 2020-09-28. See the latest version.

Author
Achernar
Ratings
0 0 0
Version
0.3
Created
2020-09-28
Updated
2020-09-28
Size
2.4 KB
License
N/A
Applies to

When you're not signed into youtube a popup opens automatically asking you to identify.

This userscript hides this dialog and auto-dismisses it.
It also takes care of the GDPR cookie dialog for those not using an extension to dismiss GDPR cookie warnings.

And it prevents those 2 dialogs from pausing/stopping the current video if one is playing.
There is only one situation left so far where this behaviour can't be prevented (youtube bypassing its own API). But since the 2 dialogs are dismissed instead of simply hidden, this only happens once.