repo_id stringlengths 22 103 | file_path stringlengths 41 147 | content stringlengths 181 193k | __index_level_0__ int64 0 0 |
|---|---|---|---|
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browseraction | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browseraction/imagedatatype/index.md | ---
title: browserAction.ImageDataType
slug: Mozilla/Add-ons/WebExtensions/API/browserAction/ImageDataType
page-type: webextension-api-type
browser-compat: webextensions.api.browserAction.ImageDataType
---
{{AddonSidebar}}
Pixel data for an image. Must be an [`ImageData`](/en-US/docs/Web/API/ImageData) object (for ex... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/index.md | ---
title: browserSettings
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings
page-type: webextension-api
browser-compat: webextensions.api.browserSettings
---
{{AddonSidebar}}
Enables an extension to modify certain global browser settings. Each property of this API is a {{WebExtAPIRef("types.BrowserSetting", "B... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/webnotificationsdisabled/index.md | ---
title: browserSettings.webNotificationsDisabled
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/webNotificationsDisabled
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.webNotificationsDisabled
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSet... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/closetabsbydoubleclick/index.md | ---
title: browserSettings.closeTabsByDoubleClick
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/closeTabsByDoubleClick
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.closeTabsByDoubleClick
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/ftpprotocolenabled/index.md | ---
title: browserSettings.ftpProtocolEnabled
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/ftpProtocolEnabled
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.ftpProtocolEnabled
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object th... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/imageanimationbehavior/index.md | ---
title: browserSettings.imageAnimationBehavior
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/imageAnimationBehavior
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.imageAnimationBehavior
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/contextmenushowevent/index.md | ---
title: browserSettings.contextMenuShowEvent
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/contextMenuShowEvent
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.contextMenuShowEvent
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} obj... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/cacheenabled/index.md | ---
title: browserSettings.cacheEnabled
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/cacheEnabled
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.cacheEnabled
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object that can be used to ... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/homepageoverride/index.md | ---
title: browserSettings.homepageOverride
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/homepageOverride
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.homepageOverride
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object that can... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/usedocumentfonts/index.md | ---
title: browserSettings.useDocumentFonts
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/useDocumentFonts
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.useDocumentFonts
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object whose un... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/openbookmarksinnewtabs/index.md | ---
title: browserSettings.openBookmarksInNewTabs
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/openBookmarksInNewTabs
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.openBookmarksInNewTabs
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/overridecontentcolorscheme/index.md | ---
title: browserSettings.overrideContentColorScheme
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/overrideContentColorScheme
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.overrideContentColorScheme
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "Brow... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/openurlbarresultsinnewtabs/index.md | ---
title: browserSettings.openUrlbarResultsInNewTabs
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/openUrlbarResultsInNewTabs
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.openUrlbarResultsInNewTabs
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "Brow... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/opensearchresultsinnewtabs/index.md | ---
title: browserSettings.openSearchResultsInNewTabs
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/openSearchResultsInNewTabs
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.openSearchResultsInNewTabs
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "Brow... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/zoomfullpage/index.md | ---
title: browserSettings.zoomFullPage
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/zoomFullPage
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.zoomFullPage
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object whose underlying val... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/colormanagement/index.md | ---
title: browserSettings.colorManagement
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/colorManagement
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.colorManagement
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object used to que... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/newtabposition/index.md | ---
title: browserSettings.newTabPosition
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/newTabPosition
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.newTabPosition
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object that can be us... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/zoomsitespecific/index.md | ---
title: browserSettings.zoomSiteSpecific
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/zoomSiteSpecific
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.zoomSiteSpecific
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object whose un... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/overridedocumentcolors/index.md | ---
title: browserSettings.overrideDocumentColors
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/overrideDocumentColors
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.overrideDocumentColors
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/newtabpageoverride/index.md | ---
title: browserSettings.newTabPageOverride
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/newTabPageOverride
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.newTabPageOverride
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSetting")}} object th... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/tlsversionrestrictionconfig/index.md | ---
title: browserSettings.tlsVersionRestrictionConfig
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/tlsVersionRestrictionConfig
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.tlsVersionRestrictionConfig
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "B... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsersettings/allowpopupsforuserevents/index.md | ---
title: browserSettings.allowPopupsForUserEvents
slug: Mozilla/Add-ons/WebExtensions/API/browserSettings/allowPopupsForUserEvents
page-type: webextension-api-property
browser-compat: webextensions.api.browserSettings.allowPopupsForUserEvents
---
{{AddonSidebar}}
A {{WebExtAPIRef("types.BrowserSetting", "BrowserSet... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/index.md | ---
title: alarms
slug: Mozilla/Add-ons/WebExtensions/API/alarms
page-type: webextension-api
browser-compat: webextensions.api.alarms
---
{{AddonSidebar}}
Schedule code to run at a specific time in the future. This is like [`setTimeout()`](/en-US/docs/Web/API/setTimeout) and [`setInterval()`](/en-US/docs/Web/API/setI... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/onalarm/index.md | ---
title: alarms.onAlarm
slug: Mozilla/Add-ons/WebExtensions/API/alarms/onAlarm
page-type: webextension-api-event
browser-compat: webextensions.api.alarms.onAlarm
---
{{AddonSidebar}}
Fired when any alarm set by the extension goes off.
## Syntax
```js-nolint
browser.alarms.onAlarm.addListener(listener)
browser.ala... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/get/index.md | ---
title: alarms.get()
slug: Mozilla/Add-ons/WebExtensions/API/alarms/get
page-type: webextension-api-function
browser-compat: webextensions.api.alarms.get
---
{{AddonSidebar}}
Gets an alarm, given its name.
This is an asynchronous function that returns a [`Promise`](/en-US/docs/Web/JavaScript/Reference/Global_Obje... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/create/index.md | ---
title: alarms.create()
slug: Mozilla/Add-ons/WebExtensions/API/alarms/create
page-type: webextension-api-function
browser-compat: webextensions.api.alarms.create
---
{{AddonSidebar}}
Creates a new alarm for the current browser session. An alarm may fire once or multiple times. An alarm is cleared after it fires f... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/clearall/index.md | ---
title: alarms.clearAll()
slug: Mozilla/Add-ons/WebExtensions/API/alarms/clearAll
page-type: webextension-api-function
browser-compat: webextensions.api.alarms.clearAll
---
{{AddonSidebar}}
Cancels all active alarms.
This is an asynchronous function that returns a [`Promise`](/en-US/docs/Web/JavaScript/Reference/... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/alarm/index.md | ---
title: alarms.Alarm
slug: Mozilla/Add-ons/WebExtensions/API/alarms/Alarm
page-type: webextension-api-type
browser-compat: webextensions.api.alarms.Alarm
---
{{AddonSidebar}}
Information about a single alarm. This object is returned from {{WebExtAPIRef('alarms.get()')}} and {{WebExtAPIRef('alarms.getAll()')}}, and... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/clear/index.md | ---
title: alarms.clear()
slug: Mozilla/Add-ons/WebExtensions/API/alarms/clear
page-type: webextension-api-function
browser-compat: webextensions.api.alarms.clear
---
{{AddonSidebar}}
Cancels an alarm, given its name.
This is an asynchronous function that returns a [`Promise`](/en-US/docs/Web/JavaScript/Reference/Gl... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/alarms/getall/index.md | ---
title: alarms.getAll()
slug: Mozilla/Add-ons/WebExtensions/API/alarms/getAll
page-type: webextension-api-function
browser-compat: webextensions.api.alarms.getAll
---
{{AddonSidebar}}
Gets all active alarms for the extension.
This is an asynchronous function that returns a [`Promise`](/en-US/docs/Web/JavaScript/R... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/index.md | ---
title: browsingData
slug: Mozilla/Add-ons/WebExtensions/API/browsingData
page-type: webextension-api
browser-compat: webextensions.api.browsingData
---
{{AddonSidebar}}
Enables extensions to clear the data that is accumulated while the user is browsing.
In the `browsingData` API, browsing data is divided into ty... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removehistory/index.md | ---
title: browsingData.removeHistory()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removeHistory
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removeHistory
---
{{AddonSidebar}}
Clears the record of web pages that the user has visited (browsing history).
You can use th... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removelocalstorage/index.md | ---
title: browsingData.removeLocalStorage()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removeLocalStorage
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removeLocalStorage
---
{{AddonSidebar}}
Clears any [local storage](/en-US/docs/Web/API/Window/localStorage) created b... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/remove/index.md | ---
title: browsingData.remove()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/remove
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.remove
---
{{AddonSidebar}}
Removes the specified browsing data.
The browsing data to be removed is specified in the `dataTypes` option, whi... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removecache/index.md | ---
title: browsingData.removeCache()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removeCache
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removeCache
---
{{AddonSidebar}}
Clears the browser's cache.
Note that although this function can take a {{WebExtAPIRef("browsingD... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/settings/index.md | ---
title: browsingData.settings()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/settings
page-type: webextension-api-property
browser-compat: webextensions.api.browsingData.settings
---
{{AddonSidebar}}
Browsers have a built-in "Clear History" feature, which enables the user to clear various types of browsing... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/datatypeset/index.md | ---
title: browsingData.DataTypeSet
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/DataTypeSet
page-type: webextension-api-type
browser-compat: webextensions.api.browsingData.DataTypeSet
---
{{AddonSidebar}}
The **`browsingData.DataTypeSet`** type describes a set of data types.
It contains a number of boolean ... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removeplugindata/index.md | ---
title: browsingData.removePluginData()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removePluginData
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removePluginData
---
{{AddonSidebar}}
Clears data stored by browser plugins.
You can use the `removalOptions` parameter,... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removedownloads/index.md | ---
title: browsingData.removeDownloads()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removeDownloads
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removeDownloads
---
{{AddonSidebar}}
Clears the browser's download history. Note that this does not delete the downloaded o... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removecookies/index.md | ---
title: browsingData.removeCookies()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removeCookies
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removeCookies
---
{{AddonSidebar}}
Clears the browser's cookies.
You can use the `removalOptions` parameter, which is a {{WebE... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removeformdata/index.md | ---
title: browsingData.removeFormData()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removeFormData
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removeFormData
---
{{AddonSidebar}}
Clears data that the browser has saved for autofilling forms.
You can use the `removalOp... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removaloptions/index.md | ---
title: browsingData.RemovalOptions
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/RemovalOptions
page-type: webextension-api-type
browser-compat: webextensions.api.browsingData.RemovalOptions
---
{{AddonSidebar}}
The **`browsingData.RemovalOptions`** type contains options to control certain aspects of brows... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/api/browsingdata/removepasswords/index.md | ---
title: browsingData.removePasswords()
slug: Mozilla/Add-ons/WebExtensions/API/browsingData/removePasswords
page-type: webextension-api-function
browser-compat: webextensions.api.browsingData.removePasswords
---
{{AddonSidebar}}
Clears saved passwords.
You can use the `removalOptions` parameter, which is a {{WebE... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/intercept_http_requests/index.md | ---
title: Intercept HTTP requests
slug: Mozilla/Add-ons/WebExtensions/Intercept_HTTP_requests
page-type: guide
---
{{AddonSidebar}}
To intercept HTTP requests, use the {{WebExtAPIRef("webRequest")}} API.
This API enables you to add listeners for various stages of making an HTTP request.
In the listeners, you can:
-... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface/index.md | ---
title: User interface
slug: Mozilla/Add-ons/WebExtensions/user_interface
page-type: guide
---
{{AddonSidebar}}
Extensions that use WebExtension APIs are provided with several user interface options so that their functionality can be made available to the user. A summary of those options is provided below, with a ... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface/omnibox/index.md | ---
title: Address bar suggestions
slug: Mozilla/Add-ons/WebExtensions/user_interface/Omnibox
page-type: guide
---
{{AddonSidebar}}
Using the {{WebExtAPIRef("omnibox")}} API, extensions can customize the suggestions offered in the browser address bar's drop-down when the user enters a keyword.
 or [address bar button](/en-US/docs/Mozilla/Add-ons/WebExtensions/use... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface/browser_styles/index.md | ---
title: Browser styles
slug: Mozilla/Add-ons/WebExtensions/user_interface/Browser_styles
page-type: guide
browser-compat:
- webextensions.manifest.action
- webextensions.manifest.browser_action
- webextensions.manifest.page_action
- webextensions.manifest.sidebar_action
- webextensions.manifest.options_ui
... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface/page_actions/index.md | ---
title: Address bar button
slug: Mozilla/Add-ons/WebExtensions/user_interface/Page_actions
page-type: guide
---
{{AddonSidebar}}
Commonly referred to as a [page action](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pageAction) button, this user interface option is a button added to the browser address bar. Users c... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface/toolbar_button/index.md | ---
title: Toolbar button
slug: Mozilla/Add-ons/WebExtensions/user_interface/Toolbar_button
page-type: guide
---
{{AddonSidebar}}
Commonly referred to as a [browser action](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserAction), this user interface option is a button added to the browser toolbar. Users click th... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/user_interface/notifications/index.md | ---
title: Notifications
slug: Mozilla/Add-ons/WebExtensions/user_interface/Notifications
page-type: guide
---
{{AddonSidebar}}
Notifications allow you to communicate information about your extension or its content using the underlying operating system's notification service.
 article, you've already got an idea of how to write an extension. In ... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/modify_a_web_page/index.md | ---
title: Modify a web page
slug: Mozilla/Add-ons/WebExtensions/Modify_a_web_page
page-type: guide
---
{{AddonSidebar}}
One of the most common use cases for an extension is to modify a web page. For example, an extension might want to change the style applied to a page, hide particular DOM nodes, or inject extra DOM... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/sharing_objects_with_page_scripts/index.md | ---
title: Share objects with page scripts
slug: Mozilla/Add-ons/WebExtensions/Sharing_objects_with_page_scripts
page-type: guide
---
{{AddonSidebar}}
> **Note:** The techniques described in this section are only available in Firefox, and only from Firefox 49 onwards.
> **Warning:** As an extension developer you sho... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/native_messaging/index.md | ---
title: Native messaging
slug: Mozilla/Add-ons/WebExtensions/Native_messaging
page-type: guide
---
{{AddonSidebar}}
**Native messaging** enables an extension to exchange messages with a native application, installed on the user's computer. The native messaging serves the extensions without additional accesses over... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/your_first_webextension/index.md | ---
title: Your first extension
slug: Mozilla/Add-ons/WebExtensions/Your_first_WebExtension
page-type: guide
---
{{AddonSidebar}}
> **Note:** If you're familiar with the basic concepts of browser extensions, skip this section to [see how extension files are put together](/en-US/docs/Mozilla/Add-ons/WebExtensions/Anat... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/work_with_contextual_identities/index.md | ---
title: Work with contextual identities
slug: Mozilla/Add-ons/WebExtensions/Work_with_contextual_identities
page-type: guide
---
{{AddonSidebar}}
Many people need or want to interact with the web using multiple personas. They may have accounts for web-based work and personal email. They might sign out of their soc... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/examples/index.md | ---
title: Example extensions
slug: Mozilla/Add-ons/WebExtensions/Examples
page-type: guide
---
{{AddonSidebar}}
To illustrate how to use the WebExtension APIs, we maintain a repository of example extensions at <https://github.com/mdn/webextensions-examples>. This article describes how to run these examples and lists... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/index.md | ---
title: manifest.json
slug: Mozilla/Add-ons/WebExtensions/manifest.json
page-type: landing-page
browser-compat: webextensions.manifest
---
{{AddonSidebar}}
> **Note:** This article describes manifest.json for web extensions. If you are looking for information about the manifest.json in PWAs, check out the [Web App... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/omnibox/index.md | ---
title: omnibox
slug: Mozilla/Add-ons/WebExtensions/manifest.json/omnibox
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.omnibox
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code></td>
... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/name/index.md | ---
title: name
slug: Mozilla/Add-ons/WebExtensions/manifest.json/name
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.name
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String</code></td>
</tr>
... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/developer/index.md | ---
title: developer
slug: Mozilla/Add-ons/WebExtensions/manifest.json/developer
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.developer
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code></t... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/manifest_version/index.md | ---
title: manifest_version
slug: Mozilla/Add-ons/WebExtensions/manifest.json/manifest_version
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.manifest_version
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/protocol_handlers/index.md | ---
title: protocol_handlers
slug: Mozilla/Add-ons/WebExtensions/manifest.json/protocol_handlers
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.protocol_handlers
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<t... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/options_ui/index.md | ---
title: options_ui
slug: Mozilla/Add-ons/WebExtensions/manifest.json/options_ui
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.options_ui
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code>... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/host_permissions/index.md | ---
title: host_permissions
slug: Mozilla/Add-ons/WebExtensions/manifest.json/host_permissions
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.host_permissions
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/content_security_policy/index.md | ---
title: content_security_policy
slug: Mozilla/Add-ons/WebExtensions/manifest.json/content_security_policy
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.content_security_policy
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/theme_experiment/index.md | ---
title: theme_experiment
slug: Mozilla/Add-ons/WebExtensions/manifest.json/theme_experiment
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.theme_experiment
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/version_name/index.md | ---
title: version_name
slug: Mozilla/Add-ons/WebExtensions/manifest.json/version_name
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.version_name
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String<... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/user_scripts/index.md | ---
title: user_scripts
slug: Mozilla/Add-ons/WebExtensions/manifest.json/user_scripts
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.user_scripts
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object<... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/background/index.md | ---
title: background
slug: Mozilla/Add-ons/WebExtensions/manifest.json/background
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.background
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code>... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/incognito/index.md | ---
title: incognito
slug: Mozilla/Add-ons/WebExtensions/manifest.json/incognito
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.incognito
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String</code></t... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/description/index.md | ---
title: description
slug: Mozilla/Add-ons/WebExtensions/manifest.json/description
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.description
---
{{AddonSidebar}}
<table class="fullwidth-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String</code></td>
</... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/dictionaries/index.md | ---
title: dictionaries
slug: Mozilla/Add-ons/WebExtensions/manifest.json/dictionaries
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.dictionaries
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object<... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/chrome_url_overrides/index.md | ---
title: chrome_url_overrides
slug: Mozilla/Add-ons/WebExtensions/manifest.json/chrome_url_overrides
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.chrome_url_overrides
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/short_name/index.md | ---
title: short_name
slug: Mozilla/Add-ons/WebExtensions/manifest.json/short_name
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.short_name
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String</code>... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/action/index.md | ---
title: action
slug: Mozilla/Add-ons/WebExtensions/manifest.json/action
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.action
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code></td>
</... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/web_accessible_resources/index.md | ---
title: web_accessible_resources
slug: Mozilla/Add-ons/WebExtensions/manifest.json/web_accessible_resources
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.web_accessible_resources
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="ro... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/author/index.md | ---
title: author
slug: Mozilla/Add-ons/WebExtensions/manifest.json/author
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.author
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>String</code></td>
</... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/theme/index.md | ---
title: theme
slug: Mozilla/Add-ons/WebExtensions/manifest.json/theme
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.theme
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code></td>
</tr>... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/page_action/index.md | ---
title: page_action
slug: Mozilla/Add-ons/WebExtensions/manifest.json/page_action
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.page_action
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</co... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/optional_permissions/index.md | ---
title: optional_permissions
slug: Mozilla/Add-ons/WebExtensions/manifest.json/optional_permissions
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.optional_permissions
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/commands/index.md | ---
title: commands
slug: Mozilla/Add-ons/WebExtensions/manifest.json/commands
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.commands
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code></td>
... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/icons/index.md | ---
title: icons
slug: Mozilla/Add-ons/WebExtensions/manifest.json/icons
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.icons
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code></td>
</tr>... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/externally_connectable/index.md | ---
title: externally_connectable
slug: Mozilla/Add-ons/WebExtensions/manifest.json/externally_connectable
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.externally_connectable
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Typ... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/declarative_net_request/index.md | ---
title: declarative_net_request
slug: Mozilla/Add-ons/WebExtensions/manifest.json/declarative_net_request
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.declarative_net_request
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/permissions/index.md | ---
title: permissions
slug: Mozilla/Add-ons/WebExtensions/manifest.json/permissions
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.permissions
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Array</cod... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/storage/index.md | ---
title: storage
slug: Mozilla/Add-ons/WebExtensions/manifest.json/storage
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.storage
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>Object</code></td>
... | 0 |
data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json | data/mdn-content/files/en-us/mozilla/add-ons/webextensions/manifest.json/sidebar_action/index.md | ---
title: sidebar_action
slug: Mozilla/Add-ons/WebExtensions/manifest.json/sidebar_action
page-type: webextension-manifest-key
browser-compat: webextensions.manifest.sidebar_action
---
{{AddonSidebar}}
<table class="fullwidth-table standard-table">
<tbody>
<tr>
<th scope="row">Type</th>
<td><code>O... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.