Firefox add on extension main.js (main.html) -


is there way in firefox addon api have our background page html file instead of js file ?

this available in both safari , chrome , wondering if there way in firefox addon api.

right using page-worker api , pass objects around. convenient if have main.js main.html or something.

thanks, h

unfortunately, no. can use module sdk/addon/window access window associated add-on, main.js commonjs module, , running in sandboxed environment – like nodejs – without dom.


Comments