firemail

标题: 扩展相关 [打印本页]

作者: Qter    时间: 2020-8-19 18:17
标题: 扩展相关
本帖最后由 Qter 于 2020-8-19 18:45 编辑

https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/
  1. npm install --global web-ext
复制代码
web-ext requires the current LTS (long-term support) versions of NodeJS.

web-ext run --firefox-profile [A PATH TO A FIREFOX PROFILE] --keep-profile-changes


开发工作流
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Firefox_workflow_overview

作者: Qter    时间: 2020-8-19 18:24
示例 https://github.com/web-ext-labs/ui-tool
脚手架 https://webextensions.in/
作者: Qter    时间: 2020-8-19 18:38
Extension behavior in Firefox
When you develop an extension, assuming you've not defined an add-on ID using the browser_specific_settings key, the default behavior in Firefox is as follows:
The consequences of this behavior, when reloading an extension, is that:


作者: Qter    时间: 2020-8-19 18:58
扩展发布
https://extensionworkshop.com/documentation/publish/distribute-for-desktop-apps/
第一种. addons.mozilla.org (AMO)
第二种: self-distribution  how to prepare the .xpi file for web installs.
第三种: policies.   打包到app中







欢迎光临 firemail (http://firemail.wang:8088/) Powered by Discuz! X3