I'm not sure what you're calling "zones", but local storage is domain specific.

I was referring to the HTML origins - ie describing urls that do not have the same origin as being in different "zones".

See < https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript >

Apologies for the confusion, I could not remember the correct term at the time.



Also, the data can't be accessed without knowing the key.

Yes it can. I don't believe there is anything Greasemonkey-specific that prevents this that I'm aware of, but try the following JSBin example (please excuse the crude logging/messaging method):

http://jsbin.com/upacaq/edit#javascript,html,live

You'll see on the right-hand pane that all the value/key pairs are listed using a loop with no knowledge of the key names :)


kwah


--
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