Using a plugin generated with Firebreath in a Firefox Extension?

前端 未结 3 1002
既然无缘
既然无缘 2020-12-20 02:24

Is it possible to use a .dll made with Firebreath in a Firefox extension?

Currently, I am trying to port an extension I made for Google Chrome that uses javascript

3条回答
  •  情书的邮戳
    2020-12-20 02:57

    For simple functionality, I also recommend js-ctypes. It is easy to use and provides good isolation (since scripts on the page cannot access the imported library).

    If you really need to access an NPAPI plugin from any page, the standard approach seems to be to create an extension and modify the DOM of each page to include the plugin:

    Scriptable NPAPI plugin doesn't work with Firefox

提交回复
热议问题