Window Object Methods

suggest change

The most important object in the Browser Object Model is the window object. It helps in accessing information about the browser and its components. To access these features, it has various methods and properties.

Method | Description | —— | —— | window.alert() |Creates dialog box with message and an OK button | window.blur() |Remove focus from window | window.close() | Closes a browser window| window.confirm() |Creates dialog box with message, an OK button and a cancel button| window.getComputedStyle() | Get CSS styles applied to an element| window.moveTo(x,y) | Move a window’s left and top edge to supplied coordinates| window.open() | Opens new browser window with URL specified as parameter| window.print() | Tells browser that user wants to print contents of current page| window.prompt() | Creates dialog box for retrieving user input| window.scrollBy() | Scrolls the document by the specified number of pixels window.scrollTo() | Scrolls the document to the specified coordinates window.setInterval() | Do something repeatedly at specified intervals| window.setTimeout() | Do something after a specified amount of time| window.stop() | Stop window from loading|

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


BOM Browser Object Model:
* Window Object Methods

Table Of Contents
11 Arrays
12 Objects
14 Classes
16 Map
17 Set
24 Loops
27 Date
29 Scope
30 AJAX
35 Cookies
41 JSON
44 Fetch
45 Modules
46 Screen
64 Console
68 Symbols
73 Modals
76 Events
78 BOM Browser Object Model
86 Proxy
89 WeakMap
90 WeakSet
102 Tilde