On 9/28/2011 6:15 AM, Kwah wrote:
Privacy too. If you put values into localStorage, websites within that 'zone' are able to both read from and write to these values. Can get tricky if you both try to use the same names.

I'm not sure what you're calling "zones", but local storage is domain specific. Also, the data can't be accessed without knowing the key. A simple solution is to combine GM Pref and LS. First time through, the script generates a long random key, which it saves as a GM Pref, and that key is used for the local storage.

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to