A very simple userscript to bypass YouTube's age verification by retrieving the video info from YouTube's incompletely restricted /youtubei/v1/player
endpoint. As fallback (for some non-embeddable videos) an open source Account Proxy Server is used. This allows you to watch age-restricted videos without login and without age verification. All videos will be unlocked automatically.
-
Install the Tampermonkey extension for your browser:
• Tampermonkey for Chrome
• Tampermonkey for Firefox
• Tampermonkey for Opera
• Tampermonkey for Brave
• Tampermonkey for Edge
• Tampermonkey for Safari -
Add "Simple-YouTube-Age-Restriction-Bypass.user.js" by clicking this link.
-
Done.
No further actions are necessary. All age restricted videos are automatically unlocked.
This script also works with the mobile YouTube website (m.youtube.com). But currently only Kiwi Browser for Android and Firefox Nightly for Android supports extensions. In Kiwi Browser you can simply visit the Chrome Web Store to install Tampermonkey. After that add the script. Using NewPipe for Android is probably easier. But currently (2021-07-30) age-restricted videos do not seem to work in NewPipe. An update will hopefully be released soon.
Greasyfork: https://greasyfork.org/en/scripts/423851-simple-youtube-age-restriction-bypass
OpenUserJS: https://openuserjs.org/scripts/zerodytrash/Simple_YouTube_Age_Restriction_Bypass