Greasy Fork is available in English.

GreaseMonkey_SuperValues

Extends the GM_setValue and GM_getValue functions for any javascript variable type.

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/5279/47932/GreaseMonkey_SuperValues.js

作者
Panayot Ivanov
版本
0.0.1.20150423075518
建立日期
2014-09-24
更新日期
2015-04-23
授權條款
未知

/***************************************************************************************
****************************************************************************************
***** Super GM_setValue and GM_getValue.js
*****
***** This library extends the Greasemonkey GM_setValue and GM_getValue functions to
***** handle any javascript variable type.
*****
***** Add it to your GM script with (without version):
***** // @require https://greasyfork.org/scripts/5279-greasemonkey-supervalues/code/GreaseMonkey_SuperValues.js
*****
***** Usage:
***** GM_SuperValue.set (varName, varValue);
***** var x = GM_SuperValue.get (varName, defaultValue);
*****
*/