Okay so I went to Youtube and view sourced the page. I found this snippet but I have to clue what do do with it.
Code:
function toggleLights(lightsOff) {
if (lightsOff) {
addClass(document.body, 'watch-lights-off');
} else {
removeClass(document.body, 'watch-lights-off');
}
if (!lightsOff) {
hideDiv('watch-longform-shade');
} else {
_gel('watch-longform-shade').style.height = parseInt(_gel('baseDiv').offsetHeight) + 'px';
showDiv('watch-longform-shade');
}
}
onLoadFunctionList.push(function() {
addListener(document.body, 'click', function(e) {
stopPropagation(e);
var evt = e || window.event;
var target = evt.target || evt.srcElement;
if (!hasAncestor(target, 'watch-longform-buttons')) {
toggleLights(false);
}
});
});
Bookmarks