Youtube No Flexy Mode

Disable Flexy Mode

La data de 22-05-2018. Vezi ultima versiune.

// ==UserScript==
// @name         Youtube No Flexy Mode
// @namespace    http://tampermonkey.net/
// @version      0.21
// @description  Disable Flexy Mode
// @author       Botan
// @match        *://*.youtube.com/*
// @grant        none
// @run-at       document-body
// ==/UserScript==

(function() {
    'use strict';
    var s = document.createElement("script");
    s.innerHTML = 'var t1,t2=null;function s1(){"undefined"!==yt&&yt.config_.EXPERIMENT_FLAGS.kevlar_flexy_watch_new_dom&&(yt.config_.EXPERIMENT_FLAGS.kevlar_flexy_watch_new_dom=!1,console.log("Flexy disabled!"),clearInterval(t1))}function s2(){try{document.getElementById("movie_player").style.background="#000000",console.log("Set player background color to #000000!"),clearInterval(t2)}catch(e){}}t1=setInterval(s1,100),t2=setInterval(s2,100);';
    document.body.appendChild(s);
})();