在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mdn/webextensions-examples开源软件地址:https://github.com/mdn/webextensions-examples开源编程语言:JavaScript 81.0%开源软件介绍:webextensions-exampleshttps://github.com/mdn/webextensions-examples Maintained by Mozilla's Add-ons team. WebExtensions are a way to write browser extensions: that is, programs installed inside a web browser that modify the behavior of the browser or web pages loaded by the browser. WebExtensions are built on a set of cross-browser APIs, so WebExtensions written for Google Chrome, Opera, or Edge will, in most cases, run in Firefox too. The "webextensions-examples" repository is a collection of simple, complete, and installable WebExtensions. The examples show how to use the WebExtensions APIs, and you can use them as a starting point for your WebExtensions. For an index of all the examples, see the "Example extensions" page on MDN. The examples are made available under the Mozilla Public License 2.0. How to use "webextensions-examples"To use the repository, first clone it. Each example is in a top-level folder and includes a short README explaining what it does. To see how an example works, install it in Firefox by following the installation instructions. To find your way around a WebExtension's internal structure, have a look at the Anatomy of a WebExtension page on MDN. To use these examples in Firefox, use the most recent release of Firefox. However, most examples work with earlier releases. A few examples rely on APIs that are only available in pre-release versions
of Firefox. Where this is the case, the example declares the minimum version
that it needs in the Installing an exampleSome examples work only on specific domains or pages. Details of any restrictions are provided in each example's README file. None of the examples work in private browsing windows by default, see Extensions in Private Browsing for details. To run an example extension:
Support for other browsersThese examples are tested in Firefox. They may work in other browsers, if the
browser supports the APIs used.
Note that these examples all use the Learn moreTo learn more about developing WebExtensions, see the WebExtensions documentation on MDN for getting started guides, tutorials, and full API reference docs. Problems?If you encounter an issue:
If you cannot resolve the issue, file a bug. ContributingWe welcome contributions, whether they are new examples, new features, bug fixes, or translations of localizable strings. Please see the CONTRIBUTING.md file for more details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论