
Registering a content script instructs the browser to insert the given content scripts into pages that match the given URL patterns. Use this API to register content scripts. Listen for the user executing commands that you have registered using the commands manifest.json key. Currently the WebExtension clipboard API only supports copying images, but it's intended to support copying text and HTML in the future. The WebExtension clipboard API (which is different from the standard Clipboard API) enables an extension to copy items to the system clipboard. The user provides information or acts on the captive portal web page to gain broader access to network resources, such as accepting terms and conditions or making a payment.

A captive portal is a web page displayed when a user first connects to a Wi-Fi network.

captivePortalĭetermine the captive portal state of the user's connection. browsingDataĮnables extensions to clear the data that is accumulated while the user is browsing. Each property of this API is a types.BrowserSetting object, providing the ability to modify a particular setting. browserSettingsĮnables an extension to modify certain global browser settings. browserActionĪdds a button to the browser's toolbar. You can use it to bookmark pages, retrieve existing bookmarks, and edit, remove, and organize bookmarks.

The WebExtensions bookmarks API lets an extension interact with and manipulate the browser's bookmarking system. This is like setTimeout() and setInterval(), except that those functions don't work with background pages that are loaded on demand. Schedule code to run at a specific time in the future. See below for a complete list of JavaScript APIs: actionĪdds a button to the browser's toolbar. Differences between API implementations.
