您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Refactor GM_config, this version uses lz-string to access data for a Library script
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greatest.deepsurf.us/scripts/372760/633995/GM_config_lz-string%20ConfigLzString.js
Refactor GM_config, this version uses lz-string to access data.
The original author was sizzlemctwizzle.
ConfigLzString(GM_config_lz-string)
in a script use an @require// ==UserScript==
// @name Script Name
// @namespace Script Namespace
// @require https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js
// @require https://openuserjs.org/src/libs/sizzle/GM_config.js
// @require https://greatest.deepsurf.us/scripts/372760-gm-config-lz-string/code/GM_config_lz-string.js
// @grant GM_getValue
// @grant GM_setValue
// ==/UserScript==
Rename GM_configStruct to ConfigLzString
const gmc = new ConfigLzString({
'id': 'ID',
'title': 'TITLE',
'fields': {...},
'events': {...},
'css': '...',
'src':'...', //Load the js source file in the head block of iframe
});
For the original version of GM_config usage information, read the wiki.