[Greasemonkey] Cross-script configuration data sharing

Devin Devin.Cook at gmail.com
Sat Jan 7 12:13:34 EST 2006


One possibility (which I almost hate to mention) is to mark properties 
as "public".

This could be done by placeing a '!' or some other marker as the first 
char of the property name.

Then, any script in the same namespace can read or write it.

for example:
    GM_setValue('XPos','1');       // Private
    GM_setValue('!XPos','1');      // Public

-- Devin



More information about the Greasemonkey mailing list