Skip to content

Latest commit

 

History

History
195 lines (191 loc) · 7.7 KB

apis.md

File metadata and controls

195 lines (191 loc) · 7.7 KB
layout title author
default-withsidebar
Supported extension APIs
shwetankdixit

Introduction

Below are is the list of extension APIs supported in Opera. Since most of these APIs are in common with Chrome, we are linking each of those APIs with the appropriate documentation page (most of them link to the relavent chrome extension API page) and also mentioning whatever differences (if any) that our implementation of an API has vis-a-vis Chrome's.

API Name Differences with Chrome (if any)
Alarms None
Bookmarks None
browserAction None
browsingData None
Commands From Opera 29 onwards, it will be possible to assign shortcuts to open sidebar extensions by defining the shortcut in the manifest under the _execute_sidebar_action field. You can define shortcuts in the same way you do for browser and page actions.
Content Settings None
Context Menus chrome.contextmenus.create() and chrome.contextmenus.update() will support an additional enum type of sidebar_action from Opera 29 onwards.
Cookies None
Debugger None
Declarative Content None
devtools.inspectedWindow None
devtools.network None
devtools.panels None
Downloads None
Events None
Extensions Opera does not support the sendRequest() and getExtensionTabs() methods.
Font Settings None
History None
Internationalization (i18n) Opera does not support the getUILanguage() method.
Identity Opera only supports the launchWebAuthFlow() Method in this API.
Idle None
Management Opera does not support the LaunchType type and the getSelf(), createAppShortCut(), setLaunchType() and generateAppForLink() methods.
Notifications In TemplateTypes,, Opera does not support the Image, List or Progress types. Also, on mac, the update() method will not work for now.
Omnibox None
Page Action None
Page Capture None
Permissions None
Power None
Privacy None
Proxy None
Runtime None
Sessions Sync is not supported right now, so getDevices will not work.
Storage Opera does not support the sync() and managed() methods.
System.CPU None
System.Memory None
System.Storage None
Tabs

Opera currently does not support the InjectDetails and ZoomSettings types and the sendRequest(), getSelected(), getAllInWindow(), highlight(), setZoom(), getZoom(), setZoomSettings() and getZoomSettings() methods. Also, the onSelectionChanged, onActiveChanged, onHighlightChanged, onHighlighted and onZoomChange events are not supported.

Opera 29 onwards, things related to zoom in the API will be supported - namely, the ZoomSettings type and the setZoom(), getZoom(), setZoomSettings() and getZoomSettings() methods.

Types None
Web Navigation None
Web Request None
Windows None
Addons Only in Opera
Speed Dial Only in Opera
sidebarAction Only in Opera