To provide a way to hack the yt.config_ such as EXPERIMENT_FLAGS
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.gf.qytechs.cn/scripts/475632/1252573/ytConfigHacks.js
The script must be included from a userscript with the following metablocks
// @match https://www.youtube.com/*// @run-at document-start// @inject-into page// @grant noneThen an array window._ytConfigHacks will be provided and push your function into the array.
// ==UserScript==
// @name New1235
// @namespace Violentmonkey Scripts
// @match https://gf.qytechs.cn/*
// @grant none
// @version 1.0
// @author -
// @description 9/19/2023, 10:41:12 AM
// @require https://gf.qytechs.cn/scripts/475632-ytconfighacks/code/ytConfigHacks.js?version=1252568
// ==/UserScript==
console.log(window._ytConfigHacks)
window._ytConfigHacks.push(function(){
console.log('test OK')
});
window.ytcsi={
tick:function(){}
}
window.yt={}
window.yt.config_={};
ytcsi.tick;
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址