One, Window object
-------------------------------------------------- -------------------
Object Properties
window//window itself
Window.self//reference to the window window=window.self
Window.name//name for Windows
Window.defaultstatus//Set window status bar information
Window.location//url address, equipped with this property to open a new page
-------------------------------------------------- -------------------
Object methods
Window.alert ("text")//Prompt Info Session box
Window.confirm ("text")//Confirmation Session Box
Window.prompt ("text")//Require keyboard input session box
Window.setintervel ("Action", time)//every interval specified (milliseconds) to perform an action
Window.clearinterval ()//clearance time equipped with the function is to terminate the reincarnation
Window.settimeout (action,time)//interval specified time (in milliseconds) perform one action
window.open ()//Open a new window
Window.close ()//Close Windows
-------------------------------------------------- -------------------
Member objects
Window.event
Window.document//See Document Object detailed
Window.history
Window.screen
Window.navigator
window.external
-------------------------------------------------- -------------------
Window.history objects
Number of window.history.length//browsed pages
History.back ()//Retreat
History.forward ()//Progress
History.go (i)//forward or head back to page I of history
I>0 Progress, I<0 Retreat
-------------------------------------------------- -------------------
Window.screen objects
Window.screen.width//Screen width
Window.screen.height//Screen height
Window.screen.colordepth//Screen color depth
Window.screen.availwidth//Available width
Window.screen.availheight//Available height (remove height of taskbar)
-------------------------------------------------- -------------------
window.external objects
Window.external.addfavorite ("Address", "title")//Add the website to the Preservation folder
-------------------------------------------------- -------------------
Window.navigator objects
Window.navigator.appcodename//Browser code name
Window.navigator.appname//Browser pace name
Window.navigator.appminorversion//Browser patch version
Window.navigator.cpuclass//CPU Type x86
Window.navigator.platform//Operating system type Win32
Window.navigator.plugins
Window.navigator.ops Tutorial Profile
Window.navigator.userprofile
Window.navigator.systemlanguage//Customer System language ZH-CN Simplified Chinese
Window.navigator.userlanguage//user language, ditto
Window.navigator.appversion//Browser version (including system version)
Window.navigator.useragent
Window.navigator.online//user no online
Whether the window.navigator.cookieenabled//browser supports cookies
Window.navigator.mimetypes
==================================================