watch page update reverter

reverts the shitty watch page to the old one. If you are on Firefox use this one version https://pastebin.com/8Zt4aJH8

目前为 2022-05-22 提交的版本。查看 最新版本

// ==UserScript==
// @name         watch page update reverter
// @version      1.01
// @description  reverts the shitty watch page to the old one. If you are on Firefox use this one version https://pastebin.com/8Zt4aJH8
// @author       Cat Bot
// @license MIT
// @match        *://*.youtube.com/*
// @namespace    https://www.reddit.com/user/Cat_Bot4
// @icon         https://www.youtube.com/favicon.ico
// @run-at document-start
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    window['yt'] = window['yt'] || {};
    yt['config_'] = yt.config_ || {};
    yt.config_['EXPERIMENT_FLAGS'] = yt.config_.EXPERIMENT_FLAGS || {};

    var iv = setInterval(function() {
        yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh = false;
    }, 1);

    var to = setTimeout(function() {
        clearInterval(iv);
    }, 1000)
})();