[Greasemonkey] Cross-script configuration data sharing
Lenny Domnitser
ldrhcp at gmail.com
Fri Jan 6 17:09:02 EST 2006
On 1/6/06, Devin Cook <Devin.Cook at gmail.com> wrote:
> Maybe scripts with the same namespace could share the same values?
It's an elegant solution, but I think script namespaces have to be
differentiated from shared value namespaces. The proposal would have
people writing scripts in namespaces out of their control to interact
with certain scripts, creating an opportunity for naming conflicts.
Maybe a new set of GM_* function is in order: exportValue/importValue.
I'm not sure of the best way to keep naming conflicts out of this
one--perhaps explicitly asking for a variable namespace, or maybe just
having a convention to name variables a certain way, but neither of
these sounds optimal to me.
More information about the Greasemonkey
mailing list