Skip to content

Latest commit

 

History

History
91 lines (73 loc) · 5.83 KB

File metadata and controls

91 lines (73 loc) · 5.83 KB

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.