5 ms·
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/
by nephyrin 13y 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/content/browser.js http://dxr.mozilla.org/mozilla-central/source/browser/base/c...
- spolu 13y agoDo you have access to cookies, localStorage from JS?
- lucian1900 13y agoYes. Any XPCOM object is usable from JS that runs inside Firefox chrome and most things are XPCOM objects.