Install Firefox add-on into Firefox OS Firefox browser

江枫思渺然 提交于 2019-12-10 13:13:51

问题


I have developed some Firefox add-ons (extensions) already for Desktop and Mobile Firefox, but now I can't install the add-on/extension into the browser running in Firefox OS (I'm using the Simulator add-on). Please note I don't want to create a traditional Firefox OS application, but a traditional browser extension.

I have the application ID from Fennec (aa3c5121-dab2-40e2-81ca-7ea25febc110) in install.rdf. I also tried Mobile a23983c0-fd0e-11dc-95ff-0800200c9a66, it does not work either.

Is it that the Simulator does not support add-ons? Or do I need a different application ID? Or is it something totally different?

My other problem is that I can't see any debug logs, like the usual dab log cat. Even about:config is not accessible from the browser.


回答1:


The Firefox browser that comes with Firefox OS is still an infant. It unfortunately still doesn't support add-ons and a lot of other stuff we love from Firefox and Firefox for Android.




回答2:


Preliminary support for Firefox OS add-ons has landed recently:

https://bugzilla.mozilla.org/show_bug.cgi?id=923897

It's comprised of the ability to install "apps" that are Javascript and/or CSS scripts that executed in the context of a matching Web page.

The idea is similar to how Greasemonkey worked in desktop browsers.

The functionality is not yet complete, and has not been released in consumer-ready versions of Firefox OS.



来源:https://stackoverflow.com/questions/20761131/install-firefox-add-on-into-firefox-os-firefox-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!