如何在Firefox中使用带webextension的`jpm`? [英] How do I use `jpm` with webextension in Firefox?

查看:138
本文介绍了如何在Firefox中使用带webextension的`jpm`?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


$ b


  1. .org / en-US / Add-ons / SDK / Tools / jpmrel =nofollow> jpm 是管理Firefox插件的工具。


  2. WebExtensions是一种编写Firefox扩展的新方法,与 Google Chrome Opera支持的扩展API兼容。 code>;

  3. 但是我找不到 jpm 可用于 WebExtensions



问题



是否可以开发 WebExtensions 使用 jpm

解决方案

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

为了增加更多的细节,如果你正在编写一个你希望人们使用的插件现在,你可能想用 jpm 去。 WebExtensions仍在实施中,虽然我们在Mozilla会很乐意听到您使用API​​的意见,但他们还没有准备好在这个时候使用(2015年9月下旬)。如果你确实想编写一个WebExtension,我已经写了一个教程,可以帮助你你开始了。


I'm starting a Firefox addon and from what I see:

  1. jpm is the tool to manage a Firefox addon ;
  2. WebExtensions are a new way to write Firefox extensions compatible with the extension API supported by Google Chrome and Opera ;
  3. yet I can't find if jpm is usable with WebExtensions.

Question

Is it possible to develop a WebExtensions using jpm?

解决方案

Nope. They’re two separate ways of developing Firefox add-ons.

Just to add a little more detail, if you’re writing an add-on you want people to use now, you probably want to go with jpm. WebExtensions are still being implemented, and while we at Mozilla would love to hear your input on using the API, they’re not ready for production use at this point (Late September, 2015). If you do want to write a WebExtension, I’ve written a tutorial that should help you get started.

这篇关于如何在Firefox中使用带webextension的`jpm`?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆