YouTube EXPERIMENT_FLAGS Tamer

Adjust EXPERIMENT_FLAGS

< Commentaires sur YouTube EXPERIMENT_FLAGS Tamer

Avis: Bon - le script fonctionne correctement

§
Posté le: 23/10/2023

I can't seem to receive any youtube notifications when I enable this script (but I'm not really sure if this is really the cause of it)

Is there a way to achieve 'kevlar_watch_metadata_refresh_no_old_secondary_data = false' without using this script?


Browser: Firefox (Tampermonkey)

I can't seem to receive any youtube notifications when I enable this script (but I'm not really sure if this is really the cause of it)

Might be. I am not sure.

Is there a way to achieve 'kevlar_watch_metadata_refresh_no_old_secondary_data = false' without using this script?

The answer is yes.

// ==UserScript==
// @name        YouTube: No kevlar_watch_metadata_refresh_no_old_secondary_data
// @namespace   UserScripts
// @match       https://www.youtube.com//*
// @grant       none
// @version     0.0.1
// @author      Me
// @description Disable kevlar_watch_metadata_refresh_no_old_secondary_data
// @run-at      document-start
// @inject-into page
// @unwrap
// @require     https://greasyfork.org/scripts/475632/code/ytConfigHacks.js?version=1252732
// ==/UserScript==

(() => {

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

    const EXPERIMENT_FLAGS = config_.EXPERIMENT_FLAGS;

    if (EXPERIMENT_FLAGS) {

      EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_no_old_secondary_data = false;


    }

  });


})();
§
Posté le: 24/10/2023
Édité le: 24/10/2023
The answer is yes.

// ==UserScript==
// @name YouTube: No kevlar_watch_metadata_refresh_no_old_secondary_data
// @namespace UserScripts
// @match https://www.youtube.com/*
// @grant none
// @version 0.0.1
// @author Me
// @description Disable kevlar_watch_metadata_refresh_no_old_secondary_data
// @run-at document-start
// @inject-into page
// @unwrap
// @require https://greasyfork.org/scripts/475632/code/ytConfigHacks.js?version=1252732
// ==/UserScript==

(() => {

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

const EXPERIMENT_FLAGS = config_.EXPERIMENT_FLAGS;

if (EXPERIMENT_FLAGS) {

EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_no_old_secondary_data = false;


}

});


})();

Thank you very much, it works!

Poster une réponse

Connectez-vous pour poster une réponse.