I wrote some crafty Javascript to dump out the contents of arbitrary objects in the DOM in iPhone’s Safari. After the jump is a list of what the iPhone’s got for window, document, and document.body. If you need more, let me know.
-
window.EvalError
-
window.RangeError
-
window.ReferenceError
-
window.SyntaxError
-
window.TypeError
-
window.URIError
-
window.getSearchEngine
-
window.setSearchEngine
-
window.methodHandlerCount
-
window.propList
-
window.windowResizeHandler
-
window.debug
-
window.startDebugging
-
window.writeOut
-
window.generateDebugFunction
-
window.document
-
window.Event
-
window.CSSRule
-
window.CSSPrimitiveValue
-
window.CSSValue
-
window.Document
-
window.HTMLElement
-
window.HTMLDocument
-
window.CSSStyleDeclaration
-
window.devicePixelRatio
-
window.DocumentFragment
-
window.Element
-
window.MutationEvent
-
window.Node
-
window.NodeFilter
-
window.Range
-
window.XMLDocument
-
window.name
-
window.self
-
window.pageYOffset
-
window.releaseEvents
-
window.offscreenBuffering
-
window.moveBy
-
window.personalbar
-
window.DOMException
-
window.scrollX
-
window.Image
-
window.window
-
window.onunload
-
window.clearTimeout
-
window.screenY
-
window.screenTop
-
window.XSLTProcessor
-
window.innerHeight
-
window.defaultstatus
-
window.screen
-
window.parent
-
window.menubar
-
window.Option
-
window.onchange
-
window.innerWidth
-
window.focus
-
window.getSelection
-
window.frames
-
window.locationbar
-
window.toolbar
-
window.length
-
window.onbeforeunload
-
window.outerHeight
-
window.onmousewheel
-
window.history
-
window.prompt
-
window.top
-
window.onfocus
-
window.onmousedown
-
window.statusbar
-
window.screenLeft
-
window.location
-
window.resizeTo
-
window.clearInterval
-
window.status
-
window.onkeydown
-
window.closed
-
window.defaultStatus
-
window.scroll
-
window.onload
-
window.scrollTo
-
window.onmouseover
-
window.opener
-
window.onkeyup
-
window.outerWidth
-
window.ondblclick
-
window.onmouseout
-
window.onerror
-
window.XMLSerializer
-
window.scrollbars
-
window.onclick
-
window.event
-
window.confirm
-
window.clientInformation
-
window.scrollY
-
window.alert
-
window.crypto
-
window.navigator
-
window.pageXOffset
-
window.screenX
-
window.scrollBy
-
window.moveTo
-
window.resizeBy
-
window.XMLHttpRequest
-
window.DOMParser
-
window.open
-
window.print
-
window.setTimeout
-
window.blur
-
window.close
-
window.setInterval
-
window.captureEvents
-
window.addEventListener
-
window.removeEventListener
-
window.onabort
-
window.onblur
-
window.ondragdrop
-
window.onkeypress
-
window.onmousemove
-
window.onmouseup
-
window.onmove
-
window.onreset
-
window.onresize
-
window.onscroll
-
window.onsearch
-
window.onselect
-
window.onsubmit
-
window.frameElement
-
window.getMatchedCSSRules
-
window.getComputedStyle,. document.title
-
document.width
-
document.anchors
-
document.domain
-
document.referrer
-
document.URL
-
document.embeds
-
document.vlinkColor
-
document.applets
-
document.height
-
document.all
-
document.lastModified
-
document.body
-
document.images
-
document.alinkColor
-
document.links
-
document.location
-
document.cookie
-
document.plugins
-
document.forms
-
document.scripts
-
document.bgColor
-
document.fgColor
-
document.linkColor
-
document.dir
-
document.designMode
-
document.documentElement
-
document.doctype
-
document.inputEncoding
-
document.styleSheets
-
document.preferredStylesheetSet
-
document.charset
-
document.implementation
-
document.defaultView
-
document.defaultCharset
-
document.readyState
-
document.characterSet
-
document.selectedStylesheetSet
-
document.parentNode
-
document.childNodes
-
document.parentElement
-
document.attributes
-
document.prefix
-
document.nodeValue
-
document.previousSibling
-
document.nodeType
-
document.lastChild
-
document.namespaceURI
-
document.nodeName
-
document.firstChild
-
document.nextSibling
-
document.localName
-
document.ownerDocument
-
document.textContent
-
document.close
-
document.clear
-
document.releaseEvents
-
document.getElementsByName
-
document.open
-
document.write
-
document.writeln
-
document.captureEvents
-
document.elementFromPoint
-
document.createRange
-
document.createComment
-
document.queryCommandIndeterm
-
document.createTextNode
-
document.queryCommandEnabled
-
document.getElementById
-
document.createAttribute
-
document.createElementNS
-
document.createNodeIterator
-
document.importNode
-
document.createEntityReference
-
document.createAttributeNS
-
document.adoptNode
-
document.createDocumentFragment
-
document.getElementsByTagName
-
document.createTreeWalker
-
document.createElement
-
document.createCDATASection
-
document.createProcessingInstruction
-
document.getElementsByTagNameNS
-
document.createEvent
-
document.getOverrideStyle
-
document.execCommand
-
document.queryCommandState
-
document.queryCommandSupported
-
document.queryCommandValue
-
document.addEventListener
-
document.removeEventListener
-
document.dispatchEvent
-
document.DOCUMENT\_FRAGMENT\_NODE
-
document.ENTITY\_REFERENCE\_NODE
-
document.CDATA\_SECTION\_NODE
-
document.TEXT_NODE
-
document.COMMENT_NODE
-
document.ELEMENT_NODE
-
document.ATTRIBUTE_NODE
-
document.ENTITY_NODE
-
document.PROCESSING\_INSTRUCTION\_NODE
-
document.DOCUMENT_NODE
-
document.DOCUMENT\_TYPE\_NODE
-
document.NOTATION_NODE
-
document.removeChild
-
document.lookupPrefix
-
document.insertBefore
-
document.cloneNode
-
document.item
-
document.isDefaultNamespace
-
document.appendChild
-
document.hasAttributes
-
document.replaceChild
-
document.isSameNode
-
document.normalize
-
document.hasChildNodes
-
document.isSupported
-
document.isEqualNode
-
document.lookupNamespaceURI,. document.body.bgColor
-
document.body.vLink
-
document.body.aLink
-
document.body.scrollLeft
-
document.body.scrollHeight
-
document.body.background
-
document.body.link
-
document.body.text
-
document.body.scrollTop
-
document.body.scrollWidth
-
document.body.id
-
document.body.document
-
document.body.isContentEditable
-
document.body.className
-
document.body.dir
-
document.body.lang
-
document.body.innerHTML
-
document.body.innerText
-
document.body.outerHTML
-
document.body.outerText
-
document.body.children
-
document.body.contentEditable
-
document.body.offsetWidth
-
document.body.offsetHeight
-
document.body.clientWidth
-
document.body.offsetLeft
-
document.body.style
-
document.body.offsetTop
-
document.body.tagName
-
document.body.offsetParent
-
document.body.clientHeight
-
document.body.parentNode
-
document.body.childNodes
-
document.body.parentElement
-
document.body.attributes
-
document.body.prefix
-
document.body.nodeValue
-
document.body.previousSibling
-
document.body.nodeType
-
document.body.lastChild
-
document.body.names
paceURI
-
document.body.nodeName
-
document.body.firstChild
-
document.body.nextSibling
-
document.body.localName
-
document.body.ownerDocument
-
document.body.textContent
-
document.body.removeAttributeNode
-
document.body.removeAttribute
-
document.body.getAttributeNode
-
document.body.getAttributeNodeNS
-
document.body.getElementsByTagName
-
document.body.getElementsByTagNameNS
-
document.body.getAttributeNS
-
document.body.setAttributeNode
-
document.body.scrollByLines
-
document.body.setAttribute
-
document.body.scrollByPages
-
document.body.removeAttributeNS
-
document.body.setAttributeNS
-
document.body.setAttributeNodeNS
-
document.body.getAttribute
-
document.body.scrollIntoView
-
document.body.hasAttribute
-
document.body.hasAttributeNS
-
document.body.focus
-
document.body.blur
-
document.body.insertAdjacentElement
-
document.body.contains
-
document.body.scrollIntoViewIfNeeded
-
document.body.addEventListener
-
document.body.removeEventListener
-
document.body.dispatchEvent
-
document.body.DOCUMENT\_FRAGMENT\_NODE
-
document.body.ENTITY\_REFERENCE\_NODE
-
document.body.CDATA\_SECTION\_NODE
-
document.body.TEXT_NODE
-
document.body.COMMENT_NODE
-
document.body.ELEMENT_NODE
-
document.body.ATTRIBUTE_NODE
-
document.body.ENTITY_NODE
-
document.body.PROCESSING\_INSTRUCTION\_NODE
-
document.body.DOCUMENT_NODE
-
document.body.DOCUMENT\_TYPE\_NODE
-
document.body.NOTATION_NODE
-
document.body.removeChild
-
document.body.lookupPrefix
-
document.body.insertBefore
-
document.body.cloneNode
-
document.body.item
-
document.body.isDefaultNamespace
-
document.body.appendChild
-
document.body.hasAttributes
-
document.body.replaceChild
-
document.body.isSameNode
-
document.body.normalize
-
document.body.hasChildNodes
-
document.body.isSupported
-
document.body.isEqualNode
-
document.body.lookupNamespaceURI