Exploring window and document props 12 January 2007
Good old for prop in a popup window – experiment results below…
IE document.body.* returned
undefinedlanguage ==
scrollHeight == 577
isTextEdit == true
currentStyle == [object]
document == [object]
onmouseup == null
oncontextmenu == null
isMultiLine == true
clientHeight == 577
onrowexit == null
onbeforepaste == null
onactivate == null
scrollLeft == 0
lang ==
onmousemove == null
onmove == null
onselectstart == null
parentTextEdit == null
oncontrolselect == null
canHaveHTML == true
onkeypress == null
oncut == null
onrowenter == null
onmousedown == null
onpaste == null
className ==
id ==
onreadystatechange == null
onbeforedeactivate == null
hideFocus == false
dir ==
isContentEditable == false
onkeydown == null
clientWidth == 533
onlosecapture == null
parentElement == [object]
ondrag == null
ondragstart == null
oncellchange == null
recordNumber == null
onfilterchange == null
onrowsinserted == null
ondatasetcomplete == null
onmousewheel == null
ondragenter == null
onblur == null
onresizeend == null
onerrorupdate == null
onbeforecopy == null
ondblclick == null
scopeName == HTML
onkeyup == null
onresizestart == null
onmouseover == null
onmouseleave == null
outerText == 'text'
innerText == 'text'
also inner/outer html contianed the html
onmoveend == null
tagName == BODY
title ==
offsetWidth == 533
onresize == null
contentEditable == inherit
runtimeStyle == [object]
filters == [object]
ondrop == null
onpage == null
onrowsdelete == null
tagUrn ==
offsetLeft == 0
clientTop == 0
style == [object]
onfocusout == null
clientLeft == 0
ondatasetchanged == null
canHaveChildren == true
ondeactivate == null
isDisabled == false
onpropertychange == null
ondragover == null
onhelp == null
ondragend == null
onbeforeeditfocus == null
disabled == false
onfocus == null
behaviorUrns == [object]
accessKey ==
onscroll == null
onbeforeactivate == null
onbeforecut == null
readyState == complete
all == [object]
sourceIndex == 7
onclick == null
scrollTop == 0
oncopy == null
onfocusin == null
tabIndex == 0
onbeforeupdate == null
Preparation: Cost:
ondataavailable == null
offsetHeight == 577
onmovestart == null
onmouseout == null
scrollWidth == 533
offsetTop == 0
onmouseenter == null
onlayoutcomplete == null
offsetParent == null
onafterupdate == null
ondragleave == null
children == [object]
parentNode == [object]
text ==
bottomMargin == 15
noWrap == false
onbeforeunload == null
vLink ==
onafterprint == null
lastChild == [object]
ownerDocument == [object]
aLink ==
attributes == [object]
link ==
bgProperties ==
nodeValue == null
bgColor ==
onbeforeprint == null
nodeType == 1
previousSibling == [object]
leftMargin == 10
background ==
topMargin == 15
scroll ==
nodeName == BODY
childNodes == [object]
onload == function anonymous() { initWin(); }
nextSibling == null
firstChild == [object]
rightMargin == 10
onselect == null
onunload == null
Firefox 1.5 window.* returned
i == 0
timerRunning == false
height == 718
width == 550
timerid == undefined
document == [object HTMLDocument]
navigator == [object Navigator]
Packages == [JavaPackage ]
sun == [JavaPackage sun]
java == [JavaPackage java]
netscape == [object Object]
XPCNativeWrapper == function XPCNativeWrapper() { [native code] }
GeckoActiveXObject == function GeckoActiveXObject() { [native code] }
Components == [object nsXPCComponents]
focus == function focus() { [native code] }
scrollMaxY == 718
parent == [object Window]
top == [object Window]
scrollbars == [object BarProp]
name == itemwindow3718
scrollX == 0
scrollY == 0
scrollTo == function scrollTo() { [native code] }
scrollBy == function scrollBy() { [native code] }
getSelection == function getSelection() { [native code] }
scrollByLines == function scrollByLines() { [native code] }
scrollByPages == function scrollByPages() { [native code] }
sizeToContent == function sizeToContent() { [native code] }
dump == function dump() { [native code] }
setTimeout == function setTimeout() { [native code] }
setInterval == function setInterval() { [native code] }
clearTimeout == function clearTimeout() { [native code] }
clearInterval == function clearInterval() { [native code] }
setResizable == function setResizable() { [native code] }
captureEvents == function captureEvents() { [native code] }
releaseEvents == function releaseEvents() { [native code] }
routeEvent == function routeEvent() { [native code] }
enableExternalCapture == function enableExternalCapture() { [native code] }
disableExternalCapture == function disableExternalCapture() { [native code] }
prompt == function prompt() { [native code] }
open == function open() { [native code] }
openDialog == function openDialog() { [native code] }
frames == [object Window]
find == function find() { [native code] }
self == [object Window]
screen == [object Screen]
history == [object History]
content == [object Window]
menubar == [object BarProp]
toolbar == [object BarProp]
locationbar == [object BarProp]
personalbar == [object BarProp]
statusbar == [object BarProp]
directories == [object BarProp]
closed == false
crypto == [object Crypto]
pkcs11 == [object Pkcs11]
controllers == [object XULControllers]
opener == [object Window]
status ==
defaultStatus ==
innerWidth == 550
innerHeight == 100
outerWidth == 558
outerHeight == 156
screenX == 168
screenY == 74
pageXOffset == 0
pageYOffset == 0
scrollMaxX == 0
length == 0
fullScreen == false
alert == function alert() { [native code] }
confirm == function confirm() { [native code] }
blur == function blur() { [native code] }
back == function back() { [native code] }
forward == function forward() { [native code] }
home == function home() { [native code] }
stop == function stop() { [native code] }
print == function print() { [native code] }
moveTo == function moveTo() { [native code] }
moveBy == function moveBy() { [native code] }
resizeTo == function resizeTo() { [native code] }
resizeBy == function resizeBy() { [native code] }
scroll == function scroll() { [native code] }
close == function close() { [native code] }
updateCommands == function updateCommands() { [native code] }
atob == function atob() { [native code] }
btoa == function btoa() { [native code] }
frameElement == null
removeEventListener == function removeEventListener() { [native code] }
dispatchEvent == function dispatchEvent() { [native code] }
getComputedStyle == function getComputedStyle() { [native code] }
sessionStorage == [object Storage]
globalStorage == [object StorageList]