YouTube: Disable VOLUME_STABLE

To disable stable volumne (Drc Audio)

目前为 2024-05-06 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name YouTube: Disable VOLUME_STABLE
  3. // @namespace Userscripts
  4. // @match https://www.youtube.com/*
  5. // @grant none
  6. // @version 0.1.0
  7. // @author CY Fung
  8. // @description To disable stable volumne (Drc Audio)
  9. // @run-at document-start
  10. // @unwrap
  11. // @require https://update.gf.qytechs.cn/scripts/475632/1361351/ytConfigHacks.js
  12. // @inject-into page
  13. // @license MIT
  14. // ==/UserScript==
  15.  
  16. window._ytConfigHacks.add((config_) => {
  17.  
  18. let o = (((config_ || 0).WEB_PLAYER_CONTEXT_CONFIGS || 0).WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH || 0);
  19. if (typeof o.serializedExperimentFlags === 'string' && o.serializedExperimentFlags.length > 25) {
  20. o.serializedExperimentFlags = `&${o.serializedExperimentFlags}&`.replace('&html5_show_drc_toggle=true&', '&').slice(1, -1);
  21. }
  22.  
  23. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址