Opera Widget support notes
By Opera Software · 21 May, 2008
- Previous article—Opera widget core DOM reference
- Next article—Widget modes: docked, widget, and more
- Table of contents
Support notes
Introduction
This article details what parts of the features of Opera Widgets are supported on different devices. The features are compared to their status in the W3C standardization process. Note that this document is not meant to be a complete set of comparisons. Different devices use different versions of the Opera browser, although most of the functionality is the same across all of them.
General notes
Anything present but marked as
for all platforms is currently not available in any public builds of Opera.
The following W3C documents are used:
- Public working draft (Working Draft)
- Widgets 1.0 Packaging and Configuration (Editor’s Draft)
- Widgets 1.0 APIs and Events (Editor’s Draft)
In case of conflicts, the Editors Drafts are used as reference.
Note that neither of these are yet recommendations, and may be subject to change. Opera Software is committed to delivering a W3C-compliant widget implementation.
Note: This is not a complete list of features mapped against the W3C features.
Features
| Feature | 9.27 | 9.5 beta 2 | 9.5 for UIQ | W3C |
|---|---|---|---|---|
| widget URL protocol | ![]() |
![]() |
![]() |
![]() |
| widget mode | ![]() |
![]() |
1 |
![]() |
| docked mode | ![]() |
![]() |
![]() |
![]() |
| fullscreen mode | ![]() |
![]() |
1 |
![]() |
| application mode | ![]() |
![]() |
![]() |
![]() |
1 widget mode is effectively fullscreen on mobile. This will probably change to fullscreen becoming default on mobile.
config.xml
widget element
| Feature | 9.27 | 9.5 beta 2 | 9.5 for UIQ | W3C |
|---|---|---|---|---|
defaultMode |
![]() |
![]() |
![]() |
![]() |
dockable |
![]() |
![]() |
![]() |
![]() |
transparent |
![]() |
![]() |
![]() |
![]() |
JavaScript APIs
widget object
| Feature | 9.27 | 9.5 beta 2 | 9.5 for UIQ | W3C |
|---|---|---|---|---|
widgetMode |
![]() |
![]() |
![]() |
![]() |
identifier |
![]() |
![]() |
![]() |
![]() |
originURL |
![]() |
![]() |
![]() |
![]() |
openURL() |
![]() |
![]() |
![]() |
![]() |
preferenceForKey()2 |
![]() |
![]() |
![]() |
![]() |
setPreferenceForKey()2 |
![]() |
![]() |
![]() |
![]() |
getPreference()2 |
![]() |
![]() |
![]() |
![]() |
setPreference()2 |
![]() |
![]() |
![]() |
![]() |
showNotification() |
![]() |
![]() |
![]() |
![]() |
getAttention() |
![]() |
![]() |
![]() |
![]() |
onhide |
![]() |
![]() |
![]() |
![]() |
onshow |
![]() |
![]() |
![]() |
![]() |
show() |
![]() |
![]() |
![]() |
![]() |
hide() |
![]() |
![]() |
![]() |
![]() |
2 The preferenceForKey() and setPreferenceForKey() methods were previously part of the W3C working draft. In recent drafts, they have been changed to setPreference() and getPreference(). Opera plans to follow this change, but retain the old methods for backwards compatibility.
window object
| Feature | 9.27 | 9.5 beta 2 | 9.5 for UIQ | W3C |
|---|---|---|---|---|
defaultStatus |
![]() |
3 |
![]() |
![]() |
status |
![]() |
3 |
![]() |
![]() |
resizeTo() |
![]() |
![]() |
4 |
![]() |
resizeBy() |
![]() |
![]() |
4 |
![]() |
moveTo() |
![]() |
![]() |
4 |
![]() |
moveBy() |
![]() |
![]() |
4 |
![]() |
3 Settable, but ignored.
4 Note that calling resizeTo(), resizeBy(), moveTo() or moveBy() has no effect when in a fullscreen mode or on mobile.
Events
| Feature | 9.27 | 9.5 beta 2 | 9.5 for UIQ | W3C |
|---|---|---|---|---|
resolution |
![]() |
![]() |
![]() |
![]() |
widgetmodechange |
![]() |
![]() |
![]() |
![]() |
