WebExtensions
Awesome WebExtensions
¶
>精选的精选资源列表 WebExtensions 发展.
WebExtensions是用于开发浏览器附加组件的跨浏览器系统. 该系统在很大程度上与 extension API 受Google Chrome和Opera支持. 在大多数情况下,为这些浏览器编写的扩展程序将在Firefox或 Microsoft Edge 只是 a few changes.
Getting started¶
- Chrome Extensions documentation -原始Chrome扩展程序模型的文档.
- Chrome Extensions API -有关Chrome提供的原始API的全面文档.
- Mozilla's WebExtensions documentation -WebExtensions API的MDN Wiki.
- Browser support for WebExtensions -适用于Chrome,Edge,Firefox和Opera的兼容性表.
- Microsoft Edge API support -对Edge的详细WebExtensions支持.
- Safari Extensions documentation -有关构建Safari扩展的开发人员文档. 从技术上讲,不是WebExtensions,而是完全不同的API.
- Opera API support -对Opera的详细WebExtensions支持.
- Porting Chrome Extensions to Firefox -准备,安装和调试要在Firefox中移植的Chrome扩展程序的指南.
- Browser Extension Standard -API的标准,由Mozilla,Opera和Microsoft支持.
Community¶
- Google Groups -讨论.
- Mozilla Discourse -讨论.
#addons:mozilla.org
-Mozilla的矩阵频道.google-chrome-extension
tag on Stack Overflow -相关问题.firefox-webextensions
tag on Stack Overflow -相关问题.microsoft-edge-extension
tag on Stack Overflow -相关问题.
Libraries and Frameworks¶
代码意味着成为扩展的一部分.
- webext-options-sync -帮助您管理和自动保存扩展程序的选项.
- webext-storage-cache -类似于地图的承诺缓存存储,带有到期时间.
- webext-dynamic-content-scripts -自动将您的
content_scripts
注入自定义域. - mozilla/webextension-polyfill -Polyfill支持
browser
名称空间中基于标准化promise的API. - @types/firefox-webext-browser -为“浏览器”名称空间提供TypeScript类型.
- redux-webext -用途 redux 用于管理WebExtension的状态.
Tools¶
可以帮助您管理扩展程序的应用程序.
- Chrome Webstore Upload -通过cli(或自动在Travis上)将扩展程序上传到Chrome网上应用店.
- mozilla/web-ext -命令行工具,可帮助构建,运行和测试WebExtensions.
- chromepet -发布新版本时获得通知.
- chrome-ext-downloader -在Chrome网上应用店下载任何扩展程序,以了解其操作方法.
- chrome-store-api -Chrome Web Store API包装器.
- Chrome extension source viewer -WebExtension,可直接在商店上查看扩展的源代码.
- @wext/shipit -自动发布到Chrome网上应用店,Mozilla插件和Opera插件的工具.
- wext-manifest-loader -Webpack加载器,可让您指定“ manifest.json”属性以仅在特定浏览器中显示.
- webextension-manifest-loader -Webpack加载器,用于加载浏览器定制的manifest.json. 它还导入所有可导入的属性,使您可以将“ manifest.json”作为唯一的webpack入口点.
Testing¶
- sinon-chrome -模拟Chrome扩展程序API进行测试.
- addons-validator -根据Mozilla的指南验证扩展.
- webextensions-jsdom -根据manifest.json使用JSDOM加载弹出窗口,侧边栏和背景.
- webextensions-api-fake -内存中的WebExtensions API伪实现(包括TypeScript类型).
- webextensions-api-mock -作为sinon存根的WebExtensions API(包括TypeScript类型).
- webextensions-schema -以编程方式使用WebExtensions架构JSON文件.
Boilerplates¶
- browser-extension-template -带webpack,选项处理程序和自动发布的准系统样板.
- create-webextension -纱线WebExtension生成器.
- extensionizr.com -Web UI,可帮助您创建初始配置和文件.
- generator-web-extension -WebExtension生成器,创建跨浏览器Web扩展开发入门所需的一切.
- vue-web-extension -Vue CLI 3+预设,可使用Vue,Babel,ESLint等快速启动Web扩展!
Sample Extensions¶
这些是简单而现代的WebExtensions存储库,可以帮助您确定组件的运行位置,包括通过Travis CI自动部署.
- npmhub
- Hide Files on GitHub
- mdn/webextension-examples -为MDN文档精选了各种示例扩展.
License¶
在法律允许的范围内, Federico Brigante 放弃了此作品的所有版权以及相关或邻近的权利.