Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Browser support for JavaScript APIs

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

alarms

Chrome Edge Firefox Firefox for Android Opera
Alarm Yes No 45.0 48.0 33
clear Yes No 45.0 48.0 33
clearAll Yes No 45.0 48.0 33
create Yes No 45.0 48.0 33
get Yes No 45.0 48.0 33
getAll Yes No 45.0 48.0 33
onAlarm Yes No 45.0 48.0 33

bookmarks

Chrome Edge Firefox Firefox for Android Opera
BookmarkTreeNode Yes No 45.0 No 33
BookmarkTreeNodeUnmodifiable Yes No 45.0 No 33
CreateDetails Yes No 45.0 No 33
create Yes No 45.0 No 33
export Yes No No No 33
get Yes No 45.0 No 33
getChildren Yes No 45.0 No 33
getRecent Yes No 47.0 No 33
getSubTree Yes No 45.0 No 33
getTree Yes No 45.0 No 33
import Yes No No No 33
move Yes No 45.0 No 33
onChanged Yes No No No 33
onChildrenReordered Yes No No No 33
onCreated Yes No No No 33
onImportBegan Yes No No No 33
onImportEnded Yes No No No 33
onMoved Yes No No No 33
onRemoved Yes No No No 33
remove Yes No 45.0 No 33
removeTree Yes No 47.0 No 33
search Yes No 47.0 No 33
update Yes No 45.0 No 33

browserAction

Chrome Edge Firefox Firefox for Android Opera
ColorArray Yes Yes 45.0 No 33
ImageDataType Yes Yes 45.0 No 33
disable Yes Yes 45.0 No 33
enable Yes Yes 45.0 No 33
getBadgeBackgroundColor Yes Yes 45.0 No 33
getBadgeText Yes Yes 45.0 No 33
getPopup Yes No 45.0 No 33
getTitle Yes No 45.0 No 33
onClicked Yes Yes 45.0 No 33
setBadgeBackgroundColor Yes Yes 45.0 No 33
setBadgeText Yes Yes 45.0 No 33
setIcon Yes Yes 45.0 No 33
setPopup Yes No 45.0 No 33
setTitle Yes No 45.0 No 33

commands

Chrome Edge Firefox Firefox for Android Opera
Command Yes No 48.0 No 33
getAll Yes No 48.0 No 33
onCommand Yes No 48.0 No 33

contextMenus

Chrome Edge Firefox Firefox for Android Opera
ACTION_MENU_TOP_LEVEL_LIMIT Yes Yes 48.0 No 33
ContextType Yes Yes * 48.0 * No 33
ItemType Yes Yes 48.0 No 33
OnClickData Yes Yes 48.0 No 33
create Yes Yes 48.0 * No 33
onClicked Yes Yes 48.0 No 33
remove Yes Yes 48.0 No 33
removeAll Yes Yes 48.0 No 33
update Yes Yes 48.0 * No 33

cookies

Chrome Edge Firefox Firefox for Android Opera
Cookie Yes Yes 45.0 48.0 33
CookieStore Yes Yes 45.0 48.0 33
OnChangedCause Yes No 45.0 48.0 33
get Yes Yes 45.0 48.0 33
getAll Yes Yes * 45.0 48.0 33
getAllCookieStores Yes Yes * 45.0 48.0 33
onChanged Yes No 45.0 48.0 33
remove Yes Yes 45.0 48.0 33
set Yes Yes 45.0 48.0 33

downloads

Chrome Edge Firefox Firefox for Android Opera
BooleanDelta Yes No 47.0 48.0 33
DangerType Yes No 47.0 48.0 33
DoubleDelta Yes No 47.0 48.0 33
DownloadItem Yes No 47.0 48.0 33
DownloadQuery Yes No 47.0 48.0 33
DownloadTime Yes No 47.0 48.0 33
FilenameConflictAction Yes No 47.0 * 48.0 * 33
InterruptReason Yes No 47.0 48.0 33
State Yes No 47.0 48.0 33
StringDelta Yes No 47.0 48.0 33
acceptDanger Yes No No No 33
cancel Yes No 48.0 48.0 33
download Yes No 47.0 * 48.0 33
drag Yes No No No 33
erase Yes No 48.0 48.0 33
getFileIcon Yes No No No 33
onChanged Yes No 47.0 48.0 33
onCreated Yes No 48.0 48.0 33
onErased Yes No 48.0 48.0 33
open Yes No 48.0 48.0 33
pause Yes No 48.0 48.0 33
removeFile Yes No 48.0 48.0 33
resume Yes No 48.0 48.0 33
search Yes No 47.0 48.0 33
setShelfEnabled Yes No No No 33
show Yes No 48.0 48.0 33
showDefaultFolder Yes No 48.0 48.0 33

events

Chrome Edge Firefox Firefox for Android Opera
Event Yes Yes No No 33
Rule Yes Yes No No 33
UrlFilter Yes Yes 50.0 50.0 33

extension

Chrome Edge Firefox Firefox for Android Opera
ViewType Yes No 45.0 48.0 33
getBackgroundPage Yes Yes 45.0 48.0 33
getExtensionTabs Yes No No No No
getURL Yes Yes 45.0 48.0 33
getViews Yes No 45.0 48.0 33
inIncognitoContext Yes No 45.0 48.0 33
isAllowedFileSchemeAccess Yes No 48.0 48.0 33
isAllowedIncognitoAccess Yes No 48.0 48.0 33
lastError Yes No 47.0 48.0 33
onRequest Yes No No No 33
onRequestExternal Yes No No No 33
sendRequest Yes No No No No
setUpdateUrlData Yes No No No 33

extensionTypes

Chrome Edge Firefox Firefox for Android Opera
ImageDetails Yes Yes 45.0 48.0 33
ImageFormat Yes Yes 45.0 48.0 33
InjectDetails Yes Yes 45.0 * 48.0 No
RunAt Yes Yes 45.0 48.0 33

history

Chrome Edge Firefox Firefox for Android Opera
HistoryItem Yes No 49.0 * No 33
TransitionType Yes No 50.0 No 33
VisitItem Yes No 50.0 No 33
addUrl Yes * No 49.0 No 33 *
deleteAll Yes No 49.0 No 33
deleteRange Yes No 49.0 No 33
deleteUrl Yes No 49.0 No 33
getVisits Yes No 50.0 No 33
onVisitRemoved Yes No 50.0 No 33
onVisited Yes No 50.0 No 33
search Yes No 49.0 No 33

i18n

Chrome Edge Firefox Firefox for Android Opera
LanguageCode Yes Yes 45.0 48.0 33
detectLanguage Yes No 47.0 48.0 33
getAcceptLanguages Yes Yes 47.0 48.0 33
getMessage Yes Yes 45.0 48.0 33
getUILanguage Yes Yes 47.0 48.0 No

idle

Chrome Edge Firefox Firefox for Android Opera
IdleState Yes No 45.0 48.0 33
onStateChanged Yes No No No 33
queryState Yes No 45.0 * 48.0 * 33
setDetectionInterval Yes No No No 33

management

Chrome Edge Firefox Firefox for Android Opera
ExtensionInfo Yes No 51.0 * 51.0 * Yes
get Yes No No No Yes
getAll Yes No No No Yes
getPermissionWarningsById Yes No No No Yes
getPermissionWarningsByManifest Yes No No No Yes
getSelf Yes No 51.0 51.0 No
onDisabled Yes No No No Yes
onEnabled Yes No No No Yes
onInstalled Yes No No No Yes
onUninstalled Yes No No No Yes
setEnabled Yes No No No Yes
uninstall Yes No No No Yes
uninstallSelf Yes No 51.0 51.0 Yes

notifications

Chrome Edge Firefox Firefox for Android Opera
NotificationOptions Yes No 45.0 * 48.0 * 33
TemplateType Yes No 45.0 * 48.0 * 33 *
clear Yes No 45.0 48.0 33
create Yes No 45.0 48.0 33
getAll Yes No 45.0 48.0 33
onButtonClicked Yes No No No 33
onClicked Yes No 47.0 48.0 33
onClosed Yes No 45.0 * 48.0 * 33
update Yes No No No 33 *

pageAction

Chrome Edge Firefox Firefox for Android Opera
ImageDataType Yes No 45.0 No 33
getPopup Yes Yes 45.0 50.0 * 33
getTitle Yes Yes 45.0 No 33
hide Yes Yes 45.0 50.0 * 33
onClicked Yes Yes 45.0 50.0 33
setIcon Yes Yes * 45.0 No 33
setPopup Yes Yes 45.0 50.0 * 33
setTitle Yes Yes 45.0 No 33
show Yes Yes 45.0 50.0 * 33

runtime

Chrome Edge Firefox Firefox for Android Opera
MessageSender Yes Yes 45.0 48.0 33
OnInstalledReason Yes Yes 45.0 48.0 33
OnRestartRequiredReason Yes No 45.0 48.0 33
PlatformArch Yes No 45.0 48.0 33
PlatformInfo Yes No 45.0 * 48.0 * 33
PlatformNaclArch Yes No 45.0 48.0 33
PlatformOs Yes No 45.0 48.0 33
Port Yes No 45.0 48.0 33
RequestUpdateCheckStatus Yes No No No 33
connect Yes No 45.0 48.0 33
connectNative Yes No 50.0 No 33
getBackgroundPage Yes Yes 45.0 48.0 33
getBrowserInfo No No 51.0 51.0 No
getManifest Yes Yes 45.0 48.0 33
getPackageDirectoryEntry Yes No No No 33
getPlatformInfo Yes No 45.0 48.0 33
getURL Yes Yes 45.0 48.0 33
id Yes Yes 45.0 48.0 33
lastError Yes * Yes 47.0 48.0 33 *
onBrowserUpdateAvailable Yes No No No 33
onConnect Yes No 45.0 48.0 33
onConnectExternal Yes No No No 33
onInstalled Yes Yes No No 33
onMessage Yes Yes * 45.0 48.0 33
onMessageExternal Yes No No No 33
onRestartRequired Yes No No No 33
onStartup Yes No No 48.0 33
onSuspend Yes No No No 33
onSuspendCanceled Yes No No No 33
onUpdateAvailable Yes No 51.0 51.0 33
openOptionsPage Yes No 48.0 No 33
reload Yes No 51.0 51.0 33
requestUpdateCheck Yes No No No 33
sendMessage Yes Yes * 45.0 48.0 33
sendNativeMessage Yes No 50.0 No 33
setUninstallURL Yes No 47.0 48.0 33

storage

Chrome Edge Firefox Firefox for Android Opera
StorageArea Yes Yes 45.0 48.0 33
StorageArea.clear Yes Yes 45.0 48.0 33
StorageArea.get Yes Yes 45.0 48.0 33
StorageArea.getBytesInUse Yes Yes No No 33
StorageArea.remove Yes Yes 45.0 48.0 33
StorageArea.set Yes Yes * 45.0 48.0 33
StorageChange Yes Yes 45.0 48.0 33
local Yes Yes 45.0 * 48.0 33
managed Yes No No No No
onChanged Yes Yes 45.0 48.0 33
sync Yes No No No No

tabs

Chrome Edge Firefox Firefox for Android Opera
MutedInfo Yes No 47.0 No 33
MutedInfoReason Yes No 47.0 No 33
TAB_ID_NONE Yes Yes 45.0 No 33
Tab Yes Yes * 45.0 No 33
TabStatus Yes Yes 45.0 No 33
WindowType Yes Yes 45.0 No 33
ZoomSettings Yes No 45.0 No 33
ZoomSettingsMode Yes No 45.0 No 33
ZoomSettingsScope Yes No 45.0 No 33
captureVisibleTab Yes No 47.0 No 33
connect Yes No 45.0 No 33
create Yes Yes * 45.0 * No 33
detectLanguage Yes Yes 45.0 No 33
duplicate Yes No 47.0 No 33
executeScript Yes Yes 43.0 * No 33
get Yes Yes 45.0 No 33
getAllInWindow Yes No 45.0 No No
getCurrent Yes Yes 45.0 No 33
getSelected Yes No No No No
getZoom Yes No 45.0 No 33
getZoomSettings Yes No 45.0 No 33
highlight Yes No No No No
insertCSS Yes Yes 47.0 * No 33
move Yes No 46.0 No 33
onActivated Yes Yes 45.0 No 33
onActiveChanged Yes No No No No
onAttached Yes No 45.0 No 33
onCreated Yes Yes 45.0 No 33
onDetached Yes No 45.0 No 33
onHighlightChanged Yes No No No No
onHighlighted Yes No 45.0 No No
onMoved Yes No 45.0 No 33
onRemoved Yes Yes 45.0 No 33
onReplaced Yes No 45.0 No 33
onSelectionChanged Yes No No No No
onUpdated Yes Yes 45.0 No 33
onZoomChange Yes No 45.0 No 33
query Yes Yes * 45.0 * No 33
reload Yes No 45.0 No 33
remove Yes Yes 45.0 No 33
removeCSS No No 49.0 * No No
sendMessage Yes Yes 45.0 No 33
sendRequest Yes No No No No
setZoom Yes No 45.0 No 33
setZoomSettings Yes No 45.0 No 33
update Yes Yes * 45.0 * No 33

webNavigation

Chrome Edge Firefox Firefox for Android Opera
TransitionQualifier Yes No 48.0 * 48.0 * 33
TransitionType Yes No 48.0 * 48.0 * 33
getAllFrames Yes Yes 47.0 48.0 33
getFrame Yes Yes 47.0 48.0 33
onBeforeNavigate Yes * Yes * 45.0 * 48.0 * 33 *
onCommitted Yes * Yes * 45.0 * 48.0 * 33 *
onCompleted Yes * Yes * 45.0 * 48.0 * 33 *
onCreatedNavigationTarget Yes Yes No No 33
onDOMContentLoaded Yes * Yes * 45.0 * 48.0 * 33 *
onErrorOccurred Yes * Yes * 45.0 * 48.0 * 33 *
onHistoryStateUpdated Yes Yes * 47.0 * 48.0 33
onReferenceFragmentUpdated Yes * Yes * 45.0 * 48.0 * 33 *
onTabReplaced Yes Yes No No 33

webRequest

Chrome Edge Firefox Firefox for Android Opera
BlockingResponse Yes Yes 45.0 48.0 33
HttpHeaders Yes Yes 45.0 48.0 33
MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES Yes No 45.0 48.0 33
RequestFilter Yes Yes 45.0 * 48.0 * 33
ResourceType Yes Yes 45.0 48.0 33
UploadData Yes Yes 45.0 48.0 33
handlerBehaviorChanged Yes Yes 45.0 48.0 33
onAuthRequired Yes Yes No No 33
onBeforeRedirect Yes * Yes 46.0 * 48.0 33 *
onBeforeRequest Yes * Yes 46.0 * 48.0 * 33 *
onBeforeSendHeaders Yes * Yes 45.0 * 48.0 33 *
onCompleted Yes * Yes 45.0 * 48.0 33 *
onErrorOccurred Yes * Yes 45.0 * 48.0 33 *
onHeadersReceived Yes * Yes 45.0 * 48.0 33 *
onResponseStarted Yes * Yes 45.0 * 48.0 33 *
onSendHeaders Yes * Yes 45.0 * 48.0 33 *

windows

Chrome Edge Firefox Firefox for Android Opera
CreateType Yes Yes 45.0 No 33
WINDOW_ID_CURRENT Yes Yes 45.0 No 33
WINDOW_ID_NONE Yes Yes 45.0 No 33
Window Yes Yes * 45.0 No 33
WindowState Yes Yes 45.0 No 33
WindowType Yes Yes 45.0 No 33
create Yes Yes 45.0 * No 33
get Yes Yes 45.0 No 33
getAll Yes Yes 45.0 No 33
getCurrent Yes Yes 45.0 No 33
getLastFocused Yes Yes 45.0 No 33
onCreated Yes Yes 45.0 No 33
onFocusChanged Yes Yes 45.0 No 33
onRemoved Yes No 45.0 No 33
remove Yes No 45.0 No 33
update Yes Yes 45.0 No 33
Acknowledgements

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

文件標籤與貢獻者

 此頁面的貢獻者: wbamberg
 最近更新: wbamberg,