Hacker News new | ask | show | jobs
by nephyrin 4657 days ago
Gecko exposes a large number of its interfaces to JS, and the entire Firefox frontend is written as such: http://dxr.mozilla.org/mozilla-central/source/browser/base/c...
1 comments

Do you have access to cookies, localStorage from JS?
Yes. Any XPCOM object is usable from JS that runs inside Firefox chrome and most things are XPCOM objects.