Browser support for JavaScript APIs

alarms

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
Alarm
clear
clearAll
create
get
getAll
onAlarm

Legend

Full support
Full support
See implementation notes.

bookmarks

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
BookmarkTreeNode
BookmarkTreeNode.type
BookmarkTreeNodeType
BookmarkTreeNodeUnmodifiable
CreateDetails
CreateDetails.type
create
get
getChildren
getRecent
getSubTree
getTree
move
onChanged
onChildrenReordered
onCreated
onImportBegan
onImportEnded
onMoved
onRemoved
remove
removeTree
search
update

Legend

Full support
Full support
No support
No support

browserAction

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
ColorArray
ImageDataType
disable
enable
getBadgeBackgroundColor
getBadgeText
getBadgeTextColor
getPopup
getTitle
isEnabled
onClicked
onClicked.OnClickData
onClicked.tab
openPopup
setBadgeBackgroundColor
The color property of the details parameter can be set to null.
The color property of the details parameter can be set to a string.
setBadgeText
The text property of the details parameter can be set to null.
setBadgeTextColor
setIcon
setIcon.imageData
The path and imageData properties of the details parameter can be set to null.
setPopup
The popup property of the details parameter can be set to null.
setTitle
The title property of the details parameter can be set to null.

Legend

Full support
Full support
Partial support
Partial support
No support
No support
See implementation notes.
User must explicitly enable this feature.

browserSettings

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
allowPopupsForUserEvents
cacheEnabled
closeTabsByDoubleClick
contextMenuShowEvent
ftpProtocolEnabled
homepageOverride
imageAnimationBehavior
newTabPageOverride
newTabPosition
openBookmarksInNewTabs
openSearchResultsInNewTabs
openUrlbarResultsInNewTabs
overrideDocumentColors
useDocumentFonts
webNotificationsDisabled
zoomFullPage
zoomSiteSpecific

Legend

Full support
Full support
No support
No support
See implementation notes.

browsingData

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
remove
removeCache
removeCookies
removeDownloads
removeFormData
removeHistory
removeLocalStorage
removePasswords
removePluginData
settings

Legend

Full support
Full support
No support
No support
See implementation notes.

captivePortal

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
canonicalURL
getLastChecked
getState
onConnectivityAvailable
onStateChanged

Legend

Full support
Full support
No support
No support

clipboard

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
setImageData

Legend

Full support
Full support
No support
No support

commands

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
Command
getAll
onCommand
reset
update

Legend

Full support
Full support
No support
No support
See implementation notes.

contentScripts

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
RegisteredContentScript
RegisteredContentScript.unregister
register

Legend

Full support
Full support
No support
No support
See implementation notes.

contextualIdentities

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
create
get
onCreated
onRemoved
onUpdated
query
remove
update

Legend

Full support
Full support
No support
No support
See implementation notes.

cookies

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
Cookie
Cookie.firstPartyDomain
Cookie.sameSite
CookieStore
OnChangedCause
get
get.firstPartyDomain
getAll
getAll.firstPartyDomain
getAllCookieStores
onChanged
remove
remove.firstPartyDomain
sameSiteStatus
set
set.firstPartyDomain
set.sameSite

Legend

Full support
Full support
No support
No support
See implementation notes.

devtools

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android

Legend

dns

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
resolve

Legend

Full support
Full support
No support
No support

downloads

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
BooleanDelta
DangerType
DoubleDelta
DownloadQuery
DownloadTime
FilenameConflictAction
FilenameConflictAction.prompt
InterruptReason
State
StringDelta
acceptDanger
cancel
download
download.allowHttpErrors
download.body
download.conflictAction
download.filename
download.headers
download.incognito
download.method
download.saveAs
drag
erase
getFileIcon
onChanged
onCreated
onErased
open
pause
removeFile
resume
search
setShelfEnabled
show
showDefaultFolder

Legend

Full support
Full support
No support
No support
See implementation notes.

events

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
Event
Event.addListener
Event.addRules
Event.getRules
Event.hasListener
Event.hasListeners
Event.removeListener
Event.removeRules
Rule
UrlFilter

Legend

Full support
Full support
Partial support
Partial support
No support
No support

extension

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
ViewType
ViewType.sidebar
getBackgroundPage
getExtensionTabs
DeprecatedNon-standard
getURL
DeprecatedNon-standard
getViews
inIncognitoContext
isAllowedFileSchemeAccess
isAllowedIncognitoAccess
lastError
onRequest
DeprecatedNon-standard
onRequestExternal
DeprecatedNon-standard
sendRequest
DeprecatedNon-standard
setUpdateUrlData

Legend

Full support
Full support
Partial support
Partial support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.
See implementation notes.

extensionTypes

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
ImageDetails
ImageDetails.rect
ImageDetails.scale
ImageFormat
RunAt
CSSOrigin

Legend

Full support
Full support
Partial support
Partial support
No support
No support
See implementation notes.

find

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
find
highlightResults
removeHighlighting

Legend

Full support
Full support
No support
No support

history

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
HistoryItem
HistoryItem.typedCount
TransitionType
VisitItem
addUrl
addUrl.title
addUrl.transition
addUrl.visitTime
deleteAll
deleteRange
deleteUrl
getVisits
onTitleChanged
onVisitRemoved
onVisited
search

Legend

Full support
Full support
No support
No support
See implementation notes.

i18n

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
LanguageCode
detectLanguage
getAcceptLanguages
getMessage
getUILanguage

Legend

Full support
Full support
No support
No support
See implementation notes.

identity

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
getRedirectURL
launchWebAuthFlow

Legend

Full support
Full support
No support
No support
See implementation notes.

idle

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
IdleState
onStateChanged
onStateChanged.locked
queryState
queryState.locked
setDetectionInterval

Legend

Full support
Full support
No support
No support
See implementation notes.

management

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
ExtensionInfo
ExtensionInfo.disabledReason
ExtensionInfo.offlineEnabled
ExtensionInfo.type
ExtensionInfo.versionName
get
getAll
getPermissionWarningsById
getPermissionWarningsByManifest
getSelf
install
onDisabled
onEnabled
onInstalled
onUninstalled
setEnabled
uninstall
uninstallSelf
uninstallSelf.dialogMessage

Legend

Full support
Full support
No support
No support
See implementation notes.
Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
ACTION_MENU_TOP_LEVEL_LIMIT
ContextType
ContextType.bookmark
ContextType.browser_action
ContextType.launcher
ContextType.page_action
ContextType.password
ContextType.tab
ContextType.tools_menu
ItemType
OnClickData
OnClickData.bookmarkId
OnClickData.button
OnClickData.frameId
OnClickData.linkText
OnClickData.modifiers
OnClickData.targetElementId
create
& in title sets access key
create.command
create.icons
create.visible
getTargetElement
onClicked
onHidden
onShown
refresh
remove
removeAll
update

Legend

Full support
Full support
Partial support
Partial support
No support
No support
See implementation notes.
Uses a non-standard name.

notifications

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
NotificationOptions
NotificationOptions.appIconMaskUrl
DeprecatedNon-standard
NotificationOptions.buttons
NotificationOptions.contextMessage
NotificationOptions.eventTime
NotificationOptions.imageUrl
DeprecatedNon-standard
NotificationOptions.isClickable
NotificationOptions.items
NotificationOptions.priority
NotificationOptions.progress
NotificationOptions.requireInteraction
TemplateType
clear
create
getAll
onButtonClicked
onClicked
onClosed
onClosed.byUser
onShown
update

Legend

Full support
Full support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.
See implementation notes.

omnibox

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
OnInputEnteredDisposition
SuggestResult
onInputCancelled
onInputChanged
onInputEntered
onInputStarted
setDefaultSuggestion

Legend

Full support
Full support
No support
No support
See implementation notes.

pageAction

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
ImageDataType
getPopup
getTitle
hide
isShown
onClicked
onClicked.OnClickData
onClicked.tab
openPopup
setIcon
setIcon.imageData
The path and imageData properties of the details parameter can be set to null.
setPopup
The popup property of the details parameter can be set to null.
setTitle
The title property of the details parameter can be set to null.
show

Legend

Full support
Full support
No support
No support
See implementation notes.

permissions

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
contains
getAll
onAdded
onRemoved
Permissions
remove
request

Legend

Full support
Full support
No support
No support
See implementation notes.

pkcs11

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
getModuleSlots
Non-standard
installModule
Non-standard
isModuleInstalled
Non-standard
uninstallModule
Non-standard

Legend

Full support
Full support
No support
No support
Non-standard. Check cross-browser support before using.

privacy

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android

Legend

proxy

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
onError
onRequest
ProxyInfo
RequestDetails
RequestDetails.cookieStoreId
RequestDetails.documentUrl
RequestDetails.frameId
RequestDetails.fromCache
RequestDetails.incognito
RequestDetails.method
RequestDetails.originUrl
RequestDetails.parentFrameId
RequestDetails.requestHeaders
RequestDetails.requestId
RequestDetails.tabId
RequestDetails.thirdParty
RequestDetails.timeStamp
RequestDetails.type
RequestDetails.url
register
Deprecated
settings
unregister
Deprecated

Legend

Full support
Full support
No support
No support
Deprecated. Not for use in new websites.
See implementation notes.
Uses a non-standard name.

runtime

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
MessageSender
MessageSender.frameId
MessageSender.tlsChannelId
MessageSender.url
OnInstalledReason
OnRestartRequiredReason
PlatformArch
PlatformInfo
PlatformInfo.nacl_arch
PlatformNaclArch
PlatformOs
Port
Port.error
RequestUpdateCheckStatus
connect
connectNative
getBackgroundPage
getBrowserInfo
getManifest
getPackageDirectoryEntry
getPlatformInfo
getURL
id
lastError
onBrowserUpdateAvailable
DeprecatedNon-standard
onConnect
onConnectExternal
onInstalled
onMessage
Respond with Promise
onMessageExternal
Respond with Promise
onRestartRequired
onStartup
onSuspend
onSuspendCanceled
onUpdateAvailable
openOptionsPage
reload
requestUpdateCheck
sendMessage
sendNativeMessage
setUninstallURL

Legend

Full support
Full support
Partial support
Partial support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.
See implementation notes.
Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
get
search

Legend

Full support
Full support
No support
No support

sessions

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
Filter
MAX_SESSION_RESULTS
Session
forgetClosedTab
forgetClosedWindow
getRecentlyClosed
getTabValue
getWindowValue
onChanged
removeTabValue
removeWindowValue
restore
setTabValue
setWindowValue

Legend

Full support
Full support
No support
No support
See implementation notes.

sidebarAction

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
ImageDataType
close
getBadgeBackgroundColor
getBadgeText
getPanel
getTitle
isOpen
onBlur
onFocus
open
setBadgeBackgroundColor
setBadgeText
setIcon
The path and imageData properties of the details parameter can be set to null.
setPanel
The panel property of the details parameter can be set to null.
setTitle
The title property of the details parameter can be set to null.
toggle

Legend

Full support
Full support
No support
No support

storage

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
StorageArea
StorageArea.clear
StorageArea.get
StorageArea.getBytesInUse
StorageArea.remove
StorageArea.set
StorageChange
local
managed
onChanged
sync

Legend

Full support
Full support
Partial support
Partial support
No support
No support
See implementation notes.

tabs

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
MutedInfo
MutedInfoReason
PageSettings
PageSettings.edgeBottom
PageSettings.edgeLeft
PageSettings.edgeRight
PageSettings.edgeTop
PageSettings.fileName
PageSettings.footerCenter
PageSettings.footerLeft
PageSettings.footerRight
PageSettings.headerCenter
PageSettings.headerLeft
PageSettings.headerRight
PageSettings.marginBottom
PageSettings.marginLeft
PageSettings.marginRight
PageSettings.marginTop
PageSettings.orientation
PageSettings.paperHeight
PageSettings.paperSizeUnit
PageSettings.paperWidth
PageSettings.scaling
PageSettings.showBackgroundColors
PageSettings.showBackgroundImages
PageSettings.shrinkToFit
TAB_ID_NONE
TabStatus
WindowType
ZoomSettings
ZoomSettingsMode
ZoomSettingsScope
captureTab
captureVisibleTab
connect
create
detectLanguage
discard
duplicate
duplicate.duplicateProperties
duplicate.tabId
executeScript
executeScript.frameId
executeScript.matchAboutBlank
executeScript.runAt
get
getAllInWindow
DeprecatedNon-standard
getCurrent
getSelected
DeprecatedNon-standard
getZoom
getZoomSettings
goBack
goForward
hide
Non-standard
highlight
insertCSS
insertCSS.cssOrigin
insertCSS.frameId
insertCSS.matchAboutBlank
insertCSS.runAt
move
moveInSuccession
onActivated
onActiveChanged
DeprecatedNon-standard
onAttached
onCreated
onDetached
onHighlightChanged
DeprecatedNon-standard
onHighlighted
onMoved
onRemoved
onReplaced
onSelectionChanged
DeprecatedNon-standard
onUpdated
onUpdated.extraParameters
onZoomChange
print
printPreview
query
reload
remove
removeCSS
saveAsPDF
sendMessage
sendRequest
DeprecatedNon-standard
setZoom
setZoomSettings
show
ExperimentalNon-standard
toggleReaderMode
update
warmup

Legend

Full support
Full support
Partial support
Partial support
No support
No support
Experimental. Expect behavior to change in the future.
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.
See implementation notes.

theme

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
Theme
getCurrent
onUpdated
reset
reset.windowId
update
update.windowId

Legend

Full support
Full support
No support
No support

topSites

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
MostVisitedURL
MostVisitedURL.favicon
get
get.options
options.includeBlocked
options.includeFavicon
options.includePinned
options.includeSearchShortcuts
options.limit
options.newtab
options.onePerDomain

Legend

Full support
Full support
No support
No support
See implementation notes.

types

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
BrowserSetting
BrowserSetting.onChange

Legend

Full support
Full support
No support
No support

userScripts

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
RegisteredUserScript
RegisteredUserScript.unregister
onBeforeScript
register

Legend

Full support
Full support
No support
No support
User must explicitly enable this feature.

webNavigation

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
TransitionQualifier
TransitionQualifier.from_address_bar
TransitionType
TransitionType.auto_bookmark
TransitionType.auto_subframe
TransitionType.form_submit
TransitionType.generated
TransitionType.keyword
TransitionType.keyword_generated
TransitionType.link
TransitionType.manual_subframe
TransitionType.reload
TransitionType.start_page
TransitionType.typed
getAllFrames
getFrame
onBeforeNavigate
onCommitted
onCommitted.transitionQualifiers
onCommitted.transitionType
onCompleted
onCreatedNavigationTarget
onCreatedNavigationTarget.sourceProcessId
onCreatedNavigationTarget.windowId
onDOMContentLoaded
onErrorOccurred
onErrorOccurred.error
onHistoryStateUpdated
onHistoryStateUpdated.transitionQualifiers
onHistoryStateUpdated.transitionType
onReferenceFragmentUpdated
onReferenceFragmentUpdated.transitionQualifiers
onReferenceFragmentUpdated.transitionType
onTabReplaced

Legend

Full support
Full support
No support
No support
See implementation notes.

webRequest

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
BlockingResponse
BlockingResponse.upgradeToSecure
CertificateInfo
HttpHeaders
MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES
RequestFilter
RequestFilter.tabId
RequestFilter.urls
RequestFilter.view-source
RequestFilter.windowId
ResourceType
ResourceType.beacon
ResourceType.csp_report
ResourceType.font
ResourceType.imageset
ResourceType.media
ResourceType.object_subrequest
ResourceType.ping
ResourceType.speculative
ResourceType.web_manifest
ResourceType.websocket
ResourceType.xbl
ResourceType.xml_dtd
ResourceType.xslt
SecurityInfo
StreamFilter
StreamFilter.close
StreamFilter.disconnect
StreamFilter.error
StreamFilter.ondata
StreamFilter.onerror
StreamFilter.onstart
StreamFilter.onstop
StreamFilter.resume
StreamFilter.status
StreamFilter.suspend
StreamFilter.write
UploadData
filterResponseData
getSecurityInfo
handlerBehaviorChanged
onAuthRequired
onAuthRequired.asyncBlocking
onBeforeRedirect
onBeforeRequest
onBeforeSendHeaders
onCompleted
onErrorOccurred
onHeadersReceived
onResponseStarted
onSendHeaders

Legend

Full support
Full support
No support
No support
See implementation notes.

windows

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
CreateType
WINDOW_ID_CURRENT
WINDOW_ID_NONE
Window
Window.alwaysOnTop
Window.focused
Window.height
Window.id
Window.incognito
Window.left
Window.sessionId
Window.state
Window.tabs
Window.title
Window.top
Window.type
Window.width
WindowState
WindowState.docked
DeprecatedNon-standard
WindowState.fullscreen
WindowState.maximized
WindowState.minimized
WindowType
WindowType.app
WindowType.devtools
WindowType.panel
create
get
get.getInfo
getInfo.windowTypes
DeprecatedNon-standard
getAll
getAll.populate
getAll.windowTypes
getCurrent
getCurrent.getInfo
getInfo.windowTypes
DeprecatedNon-standard
getLastFocused
getLastFocused.getInfo
getInfo.windowTypes
DeprecatedNon-standard
onCreated
onFocusChanged
onRemoved
remove
update
update.drawAttention
update.focused
update.height
update.left
update.state
update.titlePreface
update.top
update.width

Legend

Full support
Full support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.
See implementation notes.
Uses a non-standard name.

Acknowledgments

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

See also