GreaseMonkey_SuperValues

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

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/5279/47932/GreaseMonkey_SuperValues.js

Author
Panayot Ivanov
Version
0.0.1.20150423075518
Created
2014-09-24
Updated
2015-04-23
License
N/A

/***************************************************************************************
****************************************************************************************
***** 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);
*****
*/