A very simple to use userscript to bypass YouTube's age verification.
Chrome |
Edge |
Firefox |
Safari |
Opera |
Brave |
When a YouTube video is detected as age-restricted, this userscript will retrieve the video and all other information from YouTube's unrestricted /youtubei/v1/player
endpoint. As a fallback (for some non-embeddable videos) an open source Account Proxy Server is used. This allows you to watch all types of age-restricted videos without age verification and without the need to be signed in.
All videos will be unlocked automatically!
-
Install a userscript manager (browser extension) of your choice:
• Tampermonkey
• Violentmonkey
• Greasemonkey (Firefox only) -
Install Simple YouTube Age Restriction Bypass by clicking this link.
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 and install the script. Using NewPipe for Android is probably easier. But currently (2021-09-17) age-restricted videos do not seem to work in NewPipe. An update will hopefully be released soon.
We use Rollup with Babel to transpile into a single userscript file and maintain support for older browsers.
If you want to customize the script follow these steps:
- Clone the repository
git clone https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass.git
- Install the required build tools
npm install
- Build the userscript
npm run build
The final output should now be located in the dist
folder.