您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A library to help you set up configure in greasemonkey script.
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/7212/46603/GM_config%20%28eight%27s%20version%29.js
A library to help you set up configure in greasemonkey script.
https://rawgit.com/eight04/GM_config/master/demo.html
GM_config.init(
"Title",
{
"optionName": {
"label": "An option",
"type": "checkbox", // 'checkbox', 'number', 'text', 'textarea'
"default": true
},
"option2Name": {
"label": "Another option",
"type": "number",
"default": 100
}
}
);
GM_config.onclose = function(){
// callback function...
};
GM_config.open(); // Open config dialog
GM_config.get();
/*
->
{
optionName: true,
option2Name: 100
}
*/
Using NodeJS, Bower, Grunt:
npm install
bower install
grunt
GM_config.get()
.