Skip to content

A simple userscript to bypass YouTube's age verification and view age restricted videos without having to sign in.

License

Notifications You must be signed in to change notification settings

MinePlayersPE/Simple-YouTube-Age-Restriction-Bypass

 
 

Repository files navigation

Simple YouTube Age Restriction Bypass

youtube-age-restriction-bypass-v3

A very simple to use userscript to bypass YouTube's age verification.

GitHub release downloads license

Browser support

Chrome
Chrome
Edge
Edge
Firefox
Firefox
Safari
Safari
Opera
Opera
Brave
Brave

Downloads

GitHub GreasyFork OpenUserJS

How it works

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!

Installation

  1. Install a userscript manager (browser extension) of your choice:
    Tampermonkey
    Violentmonkey
    Greasemonkey (Firefox only)

  2. Install Simple YouTube Age Restriction Bypass by clicking this link.

Usage

No further actions are necessary. All age restricted videos are automatically unlocked.

Mobile Device Compatibility

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.

Development

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:

  1. Clone the repository
git clone https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass.git
  1. Install the required build tools
npm install
  1. Build the userscript
npm run build

The final output should now be located in the dist folder.

About

A simple userscript to bypass YouTube's age verification and view age restricted videos without having to sign in.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • HTML 0.5%