Disable new rounded buttons

This script disables YouTube's new rounded corners (including animated icons and new watch layout)

اعتبارا من 31-10-2022. شاهد أحدث إصدار.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Disable new rounded buttons
// @version      1.5
// @description  This script disables YouTube's new rounded corners (including animated icons and new watch layout)
// @author       Magma_Craft
// @license MIT
// @match        *://*.youtube.com/*
// @namespace    https://greasyfork.org/en/users/933798
// @icon         https://www.youtube.com/favicon.ico
// @grant        none
// ==/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.web_button_rework = false;
        yt.config_.EXPERIMENT_FLAGS.web_modern_buttons = false;
        yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh = false;
        yt.config_.EXPERIMENT_FLAGS.kevlar_watch_modern_metapanel = false;
        yt.config_.EXPERIMENT_FLAGS.kevlar_watch_modern_panels = false;
        yt.config_.EXPERIMENT_FLAGS.web_rounded_containers = false;
        yt.config_.EXPERIMENT_FLAGS.web_rounded_thumbnails = false;
        yt.config_.EXPERIMENT_FLAGS.web_modern_dialogs = false;
        yt.config_.EXPERIMENT_FLAGS.web_modern_chips = false;
        yt.config_.EXPERIMENT_FLAGS.web_modern_subscribe = false;
        yt.config_.EXPERIMENT_FLAGS.web_modern_buttons = false;
        //yt.config_.EXPERIMENT_FLAGS.web_modern_playlists = true;
        //yt.config_.EXPERIMENT_FLAGS.enable_programmed_playlist_redesign = true;
        //yt.config_.EXPERIMENT_FLAGS.web_amsterdam_playlists = true;
        yt.config_.EXPERIMENT_FLAGS.web_searchbar_style = "default",
        yt.config_.EXPERIMENT_FLAGS.web_button_rework = false;
        yt.config_.EXPERIMENT_FLAGS.web_darker_dark_theme = false;
        yt.config_.EXPERIMENT_FLAGS.web_guide_ui_refresh = false;
        yt.config_.EXPERIMENT_FLAGS.web_sheets_ui_refresh = false;
        yt.config_.EXPERIMENT_FLAGS.web_snackbar_ui_refresh = false;
        yt.config_.EXPERIMENT_FLAGS.web_segmented_like_dislike_button = false;
        yt.config_.EXPERIMENT_FLAGS.web_animated_like = false;
        yt.config_.EXPERIMENT_FLAGS.web_animated_like_lazy_load = false;
        yt.config_.EXPERIMENT_FLAGS.kevlar_use_ytd_player = false;
    }, 1);

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