Shim for interacting with the GM storage functions
Methods
-
staticjMod.API.GM_Storage.deleteValue(key)
F:/Projects/jMod/main/bin/jMod.full.js, line 4128 -
Name Type Description key
string name to be deleted -
staticjMod.API.GM_Storage.getJSON(key, def)
F:/Projects/jMod/main/bin/jMod.full.js, line 4112 -
Name Type Description key
string name def
object optional default value to return if key does not exist -
staticjMod.API.GM_Storage.getValue(key, def)
F:/Projects/jMod/main/bin/jMod.full.js, line 4075 -
Name Type Description key
string name def
string | boolean | number optional default value to return if key does not exist -
staticjMod.API.GM_Storage.setJSON(key, value)
F:/Projects/jMod/main/bin/jMod.full.js, line 4095 -
Name Type Description key
string name value
object optional value to be set -
staticjMod.API.GM_Storage.setValue(key, value)
F:/Projects/jMod/main/bin/jMod.full.js, line 4085 -
Name Type Description key
string name value
string | boolean | number optional value to be set