Youtube Age Confirmation Bypass

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

< 腳本Youtube Age Confirmation Bypass的回應

評論:普通 - 腳本能使用,但有一些問題

§
發表於: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.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址