GM.getValue: Difference between revisions
From GreaseSpot Wiki
Jump to navigationJump to search
m categorized |
mNo edit summary |
||
Line 21: | Line 21: | ||
[[Category:API Reference| | [[Category:API Reference|G]] |
Revision as of 03:29, 6 December 2006
Syntax
GM_getValue( name, default )
Description
Retrieve a value set with GM_setValue.
If the value is not found, default is returned instead.
If default is not supplied, undefined
is returned.
Examples
alert(GM_getValue("foo"));