YOUTUBE FUCK HTML5

just always focus on media player, and keys work correct

As of 14/01/2018. See the latest version.

// ==UserScript==
// @name         YOUTUBE FUCK HTML5
// @namespace    http://tampermonkey.net/
// @version      0.6
// @description  just always focus on media player, and keys work correct
// @author       Rederick Asher
// @match        *://*.youtube.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
setInterval(function(){
//  ytp-volume-panel
//	if(document.getElementsByClassName("ytp-chrome-bottom")[0].contains(document.activeElement)){
	if(document.activeElement.tagName!="INPUT"){
//	   document.activeElement.style.border="2px solid red";
	   document.getElementById("movie_player").focus();
//	 }else{
//		 alert(document.activeElement.tagName);
	 }
},500);
})();