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.

댓글 남기기

댓글을 남기려면 로그인하세요.