4 ms·
Indeed. Main difference is the API we expose to JS. XUL use is really UI oriented. Here we want to control the entire browser through JS.
by spolu 13y ago
Indeed. Main difference is the API we expose to JS. XUL use is really UI oriented. Here we want to control the entire browser through JS.
- nephyrin 13y agoGecko 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.