polymer_enable_controller_extraction

Up to Controller Extraction v2 dated 2023.09.23

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 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        polymer_enable_controller_extraction
// @namespace   test
// @match       https://www.youtube.com/*
// @grant       none
// @version     2.6
// @author      CY Fung
// @description Up to Controller Extraction v2 dated 2023.09.23
// @run-at      document-start
// @allFrames   true
// @require     https://update.greatest.deepsurf.us/scripts/475632/1361351/ytConfigHacks.js
// @unwrap
// @inject-into page
// @license     MIT
// ==/UserScript==

(() => {

  window._ytConfigHacks.add((config_) => {


    const EXPERIMENT_FLAGS = config_.EXPERIMENT_FLAGS;

    if (EXPERIMENT_FLAGS) {

      EXPERIMENT_FLAGS.polymer_enable_controller_extraction=true;

      // Sep 2023
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_0 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_1 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_2 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_3 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_4 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_5 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_6 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_7 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_8 = true;
      EXPERIMENT_FLAGS.main_app_controller_extraction_batch_9 = true;

      // Future?
      // EXPERIMENT_FLAGS.kevlar_wiz_prototype = true;
      EXPERIMENT_FLAGS.kevlar_wiz_prototype_enable_all_components = true;

    }

  });

})();