《script》
for (x in window.document)
document.write(x+"
《/br
》");
《/script》
显示结果:
vlinkColor
linkColor
alinkColor
fgColor
bgColor
activeElement
compatMode
designMode
dir
all
scripts
plugins
embeds
webkitFullscreenElement
webkitFullscreenEnabled
webkitCurrentFullScreenE
lement
webkitFullScreenKeyboard
InputAllowed
webkitIsFullScreen
childElementCount
lastElementChild
firstElementChild
children
currentScript
webkitHidden
webkitVisibilityState
webkitPointerLockElement
selectedStylesheetSet
preferredStylesheetSet
characterSet
readyState
defaultCharset
charset
location
lastModified
anchors
forms
links
applets
images
head
body
cookie
URL
domain
referrer
title
styleSheets
defaultView
documentURI
xmlStandalone
xmlVersion
xmlEncoding
inputEncoding
documentElement
implementation
doctype
parentElement
textContent
baseURI
localName
prefix
namespaceURI
ownerDocument
nextSibling
previousSibling
lastChild
firstChild
childNodes
parentNode
nodeType
nodeValue
nodeName
open
close
write
writeln
clear
captureEvents
releaseEvents
hasFocus
createElement_x
createDocumentFragment
createTextNode
createComment
createCDATASection
createProcessingInstruct
ion
createAttribute
getElementsByTagName
importNode
createElement_xNS
createAttributeNS
getElementsByTagNameNS
getElementById
createEvent
createRange
createNodeIterator
createTreeWalker
execCommand
queryCommandEnabled
queryCommandIndeterm
queryCommandState
queryCommandSupported
queryCommandValue
getElementsByName
elementFromPoint
caretRangeFromPoint
getSelection
getCSSCanvasContext
getElementsByClassName
querySelector
querySelectorAll
webkitExitPointerLock
evaluate
adoptNode
getOverrideStyle
webkitCancelFullScreen
webkitExitFullscreen
c r e a t e E x p r e s s io n
createNSResolver
insertBefore
replaceChild
removeChild
hasChildNodes
cloneNode
normalize
isSupported
lookupPrefix
isDefaultNamespace
lookupNamespaceURI
ELEMENT_NODE
ATTRIBUTE_NODE
TEXT_NODE
CDATA_SECTION_NODE
ENTITY_REFERENCE_NODE
ENTITY_NODE
PROCESSING_INSTRUCTION_NODE
COMMENT_NODE
DOCUMENT_NODE
DOCUMENT_TYPE_NODE
DOCUMENT_FRAGMENT_NODE
NOTATION_NODE
DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_PRECEDING
DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
isSameNode
isEqualNode
compareDocumentPosition
contains
addEventListener
removeEventListener
dispatchEvent