搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I need to create a browser/JS level add-on for firefox (Not Browser Ext) but low level extnsion that acessible from JS code in loaded page, what are my options.

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 xefekax313

more options

I need to create a low level addon for FireFox, one that is accessible from a loaded page via JS code in the page, but is a Native extension to the browser.

As I understand it, NPAPI is now no longer an option, and the PPAPI (Google) will be deprecated next year in 2021.

The extension I'm tasked with cannot be provided by a browser extension like the ones in the mozilla store as it needs to provide additional API's that will be called from JavaScript code running in loaded pages, not under the control of myself, but all confirming to the same standard API calls.

I've been trying a few proof of concepts using CEF (Embedded chromium) and have hit too many road blocks, so now I'm exploring a solution that will use Embedded Gecko and/or extensions to a running version of firefox.

I've read a lot of the MDN content, but this either discusses HTML level topics (Which are of no use) or NPAPI (Which is now deprecated)

Can you provide any pointers as to which technologies I should be exploring in order to accomplish my goal.

For reference, the extensions I've been tasked with are to implement the OIPF HbbTV specifications into a standard browser to aid other developers in testing and developing standard HbbTV applications.

Many thanks in advance.

PS: Sorry about the title, I had to find a way to shorten it due to the text box length restriction :-)

I need to create a low level addon for FireFox, one that is accessible from a loaded page via JS code in the page, but is a Native extension to the browser. As I understand it, NPAPI is now no longer an option, and the PPAPI (Google) will be deprecated next year in 2021. The extension I'm tasked with cannot be provided by a browser extension like the ones in the mozilla store as it needs to provide additional API's that will be called from JavaScript code running in loaded pages, not under the control of myself, but all confirming to the same standard API calls. I've been trying a few proof of concepts using CEF (Embedded chromium) and have hit too many road blocks, so now I'm exploring a solution that will use Embedded Gecko and/or extensions to a running version of firefox. I've read a lot of the MDN content, but this either discusses HTML level topics (Which are of no use) or NPAPI (Which is now deprecated) Can you provide any pointers as to which technologies I should be exploring in order to accomplish my goal. For reference, the extensions I've been tasked with are to implement the OIPF HbbTV specifications into a standard browser to aid other developers in testing and developing standard HbbTV applications. Many thanks in advance. PS: Sorry about the title, I had to find a way to shorten it due to the text box length restriction :-)

所有回覆 (2)

more options

Hi xefekax313

This forum is focused on user issues not developer issues.

Not exactly sure what you are trying to develop and if it is possible but I'd suggest asking in the add-ons discourse:

https://discourse.mozilla.org/c/add-ons/35

Cheers!

...Roland

more options

Ok thanks will do.