firefox - 如何在 Firefox 中将 `jpm` 与 webextension 一起使用?

标签 firefox google-chrome-extension firefox-addon jpm firefox-addon-webextensions

我正在启动一个 Firefox 插件,据我所知:

  1. jpm is the tool to manage a Firefox addon ;
  2. WebExtensions are a new way to write Firefox extensionsGoogle ChromeOpera 支持的扩展 API 兼容;
  3. 但我无法确定 jpm 是否可用于 WebExtensions .

问题

是否可以使用jpm开发WebExtensions

最佳答案

不。它们是开发 Firefox 附加组件的两种不同方式。

添加更多细节,如果您正在编写一个希望人们现在使用的附加组件,您可能需要使用 jpm。 WebExtensions 仍在实现中,虽然我们 Mozilla 希望听到您对使用 API 的意见,但目前它们还没有准备好用于生产使用(2015 年 9 月下旬)。如果你确实想写一个 WebExtension,我已经写了 a tutorial这应该可以帮助您入门。

关于firefox - 如何在 Firefox 中将 `jpm` 与 webextension 一起使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32670794/

相关文章:

javascript - chrome.identity.getAuthToken 返回 "bad client id: {0}"错误

url - Firefox 问题 : Is it possible to create an html iframe which loads a document from my extension using the chrome://?

javascript - 如何为 firefox 工具栏做一个自定义的自动完成文本框

javascript - 火狐扩展 : observing "user-interaction-inactive" across multiple browser windows

html - 网站 div 在 Firefox 中无法正确显示

在 Firefox 中损坏的 Jquery 替换方法

javascript - 是否可以禁用 iframe 内容的控制台输出?

html - 在 Firefox 中选择元素的边框

javascript - 用于突出显示和提醒网页上所有链接的 Google Chrome 扩展程序

javascript - 在 onclick 监听器 chrome 扩展中获取 contextMenu 标题