To determine which DOMs your browser will support you can either examine
the properites of the browser to determine the browser type and version number,
or you can use object detection to learn which objects the browser supports.
The tables below indicate the properties and supported objects of the current
browser.
Navigator Object Properties | |||
---|---|---|---|
navigator.appName | |||
navigator.appVersion | |||
navigator.appMinorVersion | |||
navigator.appCodeName | |||
navigator.userAgent | |||
navigator.platform | |||
navigator.cpuClass | |||
navigator.systemLanguage | |||
navigator.cookieEnabled | |||
Supported Objects | |||
document.all | document.images | ||
document.anchors | document.layers | ||
document.applets | document.links | ||
document.childNodes | document.namespaces | ||
document.classes | document.plugins | ||
document.embeds | document.scripts | ||
document.forms | document.styleSheets | ||
document.frames | document.tags | ||
document.getElementById | navigator.plugins | ||
document.getElementsByName | navigator.mimeTypes | ||
document.getElementsByTagName | window.frames | ||
document.ids |