Youtube Age Confirmation Bypass

Prevents you from having to sign in to view age restricted videos on YouTube

< Feedback on Youtube Age Confirmation Bypass

Review: ياخشى - قوليازما ئىشلەيدۇ، بىراق خاتالىق بار

§
يوللانغان ۋاقتى: 2014-08-18

Double video playback when there's no age confirmation

This script does get rid of the age confirmation nonsense. It's a welcome relief, since the warning would otherwise be slapped on videos that carry no age rating, and there are lots of those.

However, on videos without any age warning, I get doubled audio, suggesting that there's another copy of the video playing in the background. I've tested in Firefox with the HTML5 player only (example videos: GreenNo rating). This is how I fixed it locally:

var el = document.getElementById('unavailable-submessage');
if (el) var ell = el.childNodes.length;
else var ell = 0;
if (ell > 1) {


This way, the script only does something if the element has more than one child node (in the case of videos with no age warning, the element still has a child text node).

kneelsئاپتور
§
يوللانغان ۋاقتى: 2014-08-20

Thanks for the feedback! I wasn't able to reproduce the bug, but I added your fix regardless.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.