The structure of the Window object in the JavaScript onlookers IE10

Source: Internet
Author: User
Tags eval setinterval hasownproperty

I am in the <<javascript traversal DOM structure and object structure >> provides a function to traverse object structure, use this function, show the structure of Window object in IE10 (quite a lot of AH ~ Debug code is also in ~) as follows:

Debugging information:

[Object] Window
|--[function] AddEventListener = function AddEventListener () {[native code]}
|--[function] Alert = function alert () {[native code]}
|--[number] Animationstarttime = 7011862239376.545
|--[object] Applicationcache
|--[function] Atob = function Atob () {[native code]}
|--[function] attachevent = function attachevent () {[native code]}
|--[function] blur = function blur () {[native code]}
|--[function] Btoa = function Btoa () {[native code]}
|--[function] Cancelanimationframe = function cancelanimationframe () {[native code]}
|--[function] Cleardbginfo = function Cleardbginfo () {document.getElementById ("dbg"). innerhtml= "";
|--[function] Clearimmediate = function clearimmediate () {[native code]}
|--[function] Clearinterval = function clearinterval () {[native code]}
|--[function] cleartimeout = function cleartimeout () {[native code]}
|--[object] Clientinformation
|--[object] Clipboarddata
|--[function] Close = function close () {[native code]}
|--[boolean] closed = False
|--[function] Confirm = function confirm () {[native code]}
|--[object] Console
|--[function] Createpopup = function createpopup () {[native code]}
|--[string] Defaultstatus =
|--[function] DetachEvent = function detachevent () {[native code]}
|--[function] dispatchevent = function dispatchevent () {[native code]}
|--[object] Document
|--[object] Event
|--[function] execscript = function execscript () {[native code]}
|--[object] External
|--[function] Focus = function focus () {[native code]}
|--[object] FrameElement
|--[object] Frames
|--[function] getComputedStyle = function getComputedStyle () {[native code]}
|--[function] GetSelection = function getselection () {[native code]}
|--[object] History
|--[undefined] Indexeddb = undefined
|--[number] Innerheight = 519
|--[number] Innerwidth = 1143
|--[function] Item = function item () {[native code]}
|--[number] Length = 0
|--[undefined] Localstorage = undefined
|--[object] Location
|--[function] Matchmedia = function Matchmedia () {[native code]}
|--[number] MaxConnectionsPerServer = 10
|--[function] Moveby = function Moveby () {[native code]}
|--[function] MoveTo = function moveTo () {[native code]}
|--[number] Msanimationstarttime = 7011862239376.545
|--[function] Mscancelrequestanimationframe = function mscancelrequestanimationframe () {[native code]}
|--[function] Msclearimmediate = function msclearimmediate () {[native code]}
|--[undefined] Msindexeddb = undefined
|--[function] msisstatichtml = function msisstatichtml () {[native code]}
|--[function] Msmatchmedia = function Msmatchmedia () {[native code]}
|--[function] Msrequestanimationframe = function msrequestanimationframe () {[native code]}
|--[function] Mssetimmediate = function mssetimmediate () {[native code]}
|--[function] Mswriteprofilermark = function Mswriteprofilermark () {[native code]}
|--[string] name =
|--[function] Navigate = function navigate () {[native code]}
|--[object] Navigator
|--[string] offscreenbuffering = auto
|--[object] Onabort
|--[object] Onafterprint
|--[object] Onbeforeprint
|--[object] onBeforeUnload
|--[object] Onblur
|--[object] Oncanplay
|--[object] Oncanplaythrough
|--[object] OnChange
|--[object] OnClick
|--[object] OnContextMenu
|--[object] OnDblClick
|--[object] Ondrag
|--[object] Ondragend
|--[object] OnDragEnter
|--[object] OnDragLeave
|--[object] OnDragOver
|--[object] Ondragstart
|--[object] OnDrop
|--[object] Ondurationchange
|--[object] Onemptied
|--[object] Onended
|--[object] OnError
|--[object] Onfocus
|--[object] Onfocusin
|--[object] Onfocusout
|--[object] Onhashchange
|--[object] OnHelp
|--[object] Oninput
|--[object] OnKeyDown
|--[object] onkeypress
|--[object] OnKeyUp
|--[object] OnLoad
|--[object] Onloadeddata
|--[object] Onloadedmetadata
|--[object] Onloadstart
|--[object] OnMessage
|--[object] OnMouseDown
|--[object] Onmouseenter
|--[object] OnMouseLeave
|--[object] OnMouseMove
|--[object] onMouseOut
|--[object] onMouseOver
|--[object] OnMouseUp
|--[object] OnMouseWheel
|--[object] Onmsgesturechange
|--[object] Onmsgesturedoubletap
|--[object] Onmsgestureend
|--[object] Onmsgesturehold
|--[object] Onmsgesturestart
|--[object] Onmsgesturetap
|--[object] Onmsinertiastart
|--[object] Onmspointercancel
|--[object] Onmspointerdown
|--[object] Onmspointerhover
|--[object] Onmspointermove
|--[object] Onmspointerout
|--[object] Onmspointerover
|--[object] Onmspointerup
|--[object] Onoffline
|--[object] Ononline
|--[object] OnPause
|--[object] Onplay
|--[object] Onplaying
|--[object] Onpopstate
|--[object] OnProgress
|--[object] Onratechange
|--[object] onReadyStateChange
|--[object] OnReset
|--[object] OnResize
|--[object] Onscroll
|--[object] Onseeked
|--[object] Onseeking
|--[object] Onselect
|--[object] Onstalled
|--[object] Onstorage
|--[object] OnSubmit
|--[object] Onsuspend
|--[object] Ontimeupdate
|--[object] OnUnload
|--[object] Onvolumechange
|--[object] Onwaiting
|--[function] Open = function open () {[native code]}
|--[undefined] opener = undefined
|--[number] Outerheight = 617
|--[number] Outerwidth = 1149
|--[number] Pagexoffset = 0
|--[number] pageYOffset = 0
|--[object] Parent
|--[object] Performance
|--[function] PostMessage = function postMessage () {[native code]}
|--[function] Print = function print () {[native code]}
|--[function] prompt = function prompt () {[native code]}
|--[function] pt = function pt (myexp) {document.getElementById ("dbg"). innerhtml+= "
"+myexp+" "+eval (MYEXP) +" "; }
|--[function] put = function put (mystr) {document.getElementById ("dbg"). innerhtml+= "
"+mystr+" "; }
|--[function] RemoveEventListener = function RemoveEventListener () {[native code]}
|--[function] Requestanimationframe = function requestanimationframe () {[native code]}
|--[function] Resizeby = function Resizeby () {[native code]}
|--[function] Resizeto = function Resizeto () {[native code]}
|--[object] Screen
|--[number] Screenleft = 0
|--[number] Screentop = 79
|--[number] ScreenX =-3
|--[number] ScreenY =-3
|--[function] Scroll = function scroll () {[native code]}
|--[function] Scrollby = function Scrollby () {[native code]}
|--[function] Scrollto = function Scrollto () {[native code]}
|--[object] Self
|--[undefined] Sessionstorage = undefined
|--[function] Setimmediate = function setimmediate () {[native code]}
|--[function] SetInterval = function setinterval () {[native code]}
|--[function] settimeout = function settimeout () {[native code]}
|--[function] ShowHelp = function showHelp () {[native code]}
|--[function] ShowModalDialog = function ShowModalDialog () {[native code]}
|--[function] showModelessDialog = function showModelessDialog () {[native code]}
|--[function] Showobject = function Showobject (myobjectname) {var myObject = eval (myobjectname); var objarray = new Array ( ); Store object member name var typename = null; Store object member type try {//Put object members in array for (Var tmpobj in myObject) {if (Myobject.hasownproperty && myobject.hasownproperty (tmpobj)) | |! (tmpobj=== "undefined")) {objarray[objarray.length++] = tmpobj;} Put ("");//output, beautify put ("[Object]" +myobjectname+ "");/output if (objarray.length===0) {put ("object has no members");/output return;} The array is sorted objarray.sort (); for (Var k=0;k "+objarray[k]+");/output} else {put ("|--[" +typename+ "]" +objarray[k]+ "=" +myobject[objarray[k] ");//Output} catch (E) {alert ("input is not an object");}
|--[string] Status =
|--[object] Stylemedia
|--[function] tostatichtml = function tostatichtml () {[native code]}
|--[function] tostring = function toString () {[native code]}
|--[object] Top
|--[object] Window

This article is from the "idata" blog, please be sure to keep this source http://idata.blog.51cto.com/4581576/1103417

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.