Web Specifications Supported in Opera 6
Support for JavaScript and JScript Document and Browser Objects
Opera supports ECMAScript 2nd and 3rd edition fully, and intend to support DOM level 2 fully (separate DOM documentation will be forthcoming).
In practice Opera also supports JavaScript 1.4 with a few exceptions as well as a subset of JScript. Opera only supports the JScript properties when the user agent is set to Microsoft Internet Explorer. This you can do through setting it to "Identify as MSIE 5.0" in .
For more information on Opera scripting support, see the specifications main page.
Legend
- Object
Group (JavaScript or JScript property or JavaScript method)
- property
- array[ ]
- method()
- Supported
- No support
- Property having quirks in Opera
JavaScript and JScript objects
- Button
JavaScript properties
- value
- Checkbox
JavaScript properties
- checked
- defaultChecked
- value
- Document
JavaScript properties
- alinkColor
- anchors[]
- applets[]
- bgColor
- body
- cookie
- domain
- embeds[]
- fgColor
- forms[]
- images[]
- lastModified
- linkColor
- links[]
- location
- plugins[]
- referrer
- title
- URL
- vlinkColor
JScript properties
- all
JavaScript methods
- clear()
- close()
- open()
- write()
- writeln()
- {event}
JavaScript properties
- altKey
- cancelBubble
- clientX
- clientY
- ctrlKey
- currentTarget
- data
- height
- modifiers
- pageX
- pageY
- screenX
- screenY
- shiftKey
- target
- type
- which
JScript properties
- srcElement
- keyCode
- x
- y
- offsetX
- offsetY
JavaScript methods
- preventDefault()
- stopPropagation()
- FileUpload
JavaScript properties
- value
- Form
JavaScript properties
- action
- elements[]
- elements.length
- encoding
- length
- method
- name
- target
JavaScript methods
- reset()
- submit()
- Hidden
JavaScript properties
- value
- History
JavaScript properties
- length
- next
- previous
JavaScript methods
- back()
- forward()
- go()
- {HTML Collection}
This is returned by all methods that should return a list of elements, eg. document.links.
JavaScript properties
- length
JavaScript methods
- item()
- namedItem()
- {HTML Element}
JavaScript properties
- offsetParent
- offsetLeft
- offsetTop
- tagName
- parentNode
- style
- [attributes]
JScript properties
- all[]
- children[]
- className
- document
- parentElement
JavaScript methods
- contains()
- getAttribute()
- getElementsByTagName()
- setAttribute()
- setAttributeNode()
- Image
JavaScript properties
- border
- height
- hspace
- lowsrc
- name
- src
- vspace
- width
- Input
JavaScript properties
- checked
- defaultChecked
- defaultValue
- form
- length
- name
- options[]
- selectedIndex
- type
- value
JavaScript methods
- blur()
- click()
- focus()
- select()
- Link
JavaScript properties
- hash
- host
- hostname
- href
- pathname
- port
- protocol
- search
- target
- text
- Location
JavaScript properties
- hash
- host
- hostname
- href
- pathname
- port
- protocol
- search
JavaScript methods
- reload()
- replace()
- Navigator
JavaScript properties
- appCodeName
- appName
- appVersion
- language
- mimeTypes[]
- platform
- plugins
- userAgent
JavaScript methods
- javaEnabled()
- taintEnabled()
- Opera
JavaScript methods
- (platform dependent)
- Option
JavaScript properties
- defaultSelected
- index
- selected
- text
- value
- Password
JavaScript properties
- value
- Plugin
No support
- Radio
JavaScript properties
- checked
- defaultChecked
- value
- Reset
JavaScript properties
- value
- Screen
JavaScript properties
- availHeight
- availWidth
- colorDepth
- height
- pixelDepth
- width
- Select
JavaScript properties
- length
- options
- selectedIndex
- Type
- Style
The complete list will be in the DOM2 Style specifications to be completed later.
JavaScript properties
- background
- backgroundColor
- backgroundImage
- color
- top (can only set pixels)
- left (can only set pixels)
- pixelTop
- pixelLeft
- pixelWidth
- pixelHeight
- visibility
- zIndex
- Text
JavaScript properties
- value
- Textarea
JavaScript properties
- value
- window
JavaScript properties
- closed
- defaultStatus
- document
- frames[]
- history
- innerHeight
- innerWidth
- java
- location
- locationbar
- length
- name
- navigator
- opener
- opera
- outerHeight
- outerWidth
- pageXOffset
- pageYOffset
- parent
- screen
- self
- status
- top
- window
- [frame name]
- [form or image element name]
JavaScript methods
- alert()
- blur()
- clearInterval()
- clearTimeout()
- close()
- confirm()
- focus()
- name()
- moveBy()
- moveTo()
- open()
- print()
- prompt()
- resizeBy
- resizeTo()
- scrollBy
- scrollTo()
- setInterval()
- setTimeout()
