Greasy Fork

Greasy Fork is available in English.

youtube 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-07-01 提交的版本,查看 最新版本

// ==UserScript==
// @name         youtube watch page update reverter
// @version      1.3
// @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
// @grant        none
// @run-at document-start
// ==/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)
})();