The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
The Window.alert() method displays an alert dialog with the optional specified content and an OK button.
An OfflineResourceList object providing access to the offline resources for the window.
Decodes a string of data which has been encoded using base-64 encoding.
The window.blur() method is the programmatic equivalent of the user shifting focus away from the current window.
Creates a base-64 encoded ASCII string from a "string" of binary data.
Cancels an animation frame request previously scheduled through a call to window.requestAnimationFrame().
Cancels repeated action which was set up using setInterval.
Clears the delay set by window.setTimeout().
Closes the current window, or a referenced window.
The Window.confirm() method displays a modal dialog with an optional message and two buttons, OK and Cancel.
Short aliasas of all the dom.CSSThing classes
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
Returns a reference to the document that the window contains.
Makes a request to bring the window to the front.
Returns the element (such as <iframe> or
Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.
Returns a selection object representing the range of text selected by the user.
The Window.history read-only property returns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in).
Short aliasas of all the dom.HTMLThing classes
Short aliasas of all the dom.IDBThing classes
an IDBRequest object that communicates back to the requesting application through events.
Gets the height of the content area of the browser window including, if rendered, the horizontal scrollbar.
Gets the width of the content area of the browser window including, if rendered, the vertical scrollbar.
Returns the number of frames (either frame or iframe elements) in the window.
The Window.location property returns a Location object with information about the current location of the document.
Returns a new MediaQueryList object representing the parsed results of the specified media query string.
The name of the window is used primarily for setting targets for hyperlinks and forms.
The Window.navigator read-only property returns a reference to the Navigator object, which can be queried for information about the application running the script.
An event handler property for abort events on the window.
The onafterprint property sets and returns the onafterprint event handler code for the current window.
The onbeforeprint property sets and returns the onbeforeprint event handler code for the current window.
An event that fires when a window is about to unload its resources.
The onblur property can be used to set the blur handler on the window, which is triggered when the window loses focus.
An event handler property for change events on the window.
Called when the user clicks the mouse button while the cursor is in the window.
An event handler property for right-click events on the window.
Called for an element when the mouse pointer first moves over the element while something is being dragged.
An event handler property for errors raised on the window.
An event handler property for focus events on the window.
An event handler property for hash change events on the window; called when the part of the URL after the hash mark ("#") changes.
An event handler property for keydown events on the window.
An event handler property for keypress events on the window.
An event handler property for keyup events on the window.
An event handler property for window loading.
An event handler property for mousedown events on the window.
An event handler property for mousemove events on the window.
An event handler property for mouseout events on the window.
An event handler property for mouseover events on the window.
An event handler property for mouseup events on the window.
An event handler property for popstate events, which are fired when navigating to a session history entry representing a state object.
An event handler property for reset events on the window.
An event handler for the resize event on the window.
Specifies the function to be called when the window is scrolled.
An event handler property for window selection.
An event handler property for submits on window forms.
The unload event is raised when the window is unloading its content and resources.
Loads a resource in a new browsing context or an existing one.
Returns a reference to the window that opened this current window.
window.outerHeight gets the height in pixels of the whole browser window.
window.outerWidth gets the width of the outside of the browser window.
Returns the number of pixels that the document has already been scrolled horizontally.
Returns the number of pixels that the document has already been scrolled vertically.
Returns a reference to the parent of the current window or subframe.
The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.
The window.postMessage method safely enables cross-origin communication.
Opens the Print Dialog to print the current document.
The Window.prompt() displays a dialog with an optional message prompting the user to input some text.
Removes the event listener previously registered with EventTarget.addEventListener.
The window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser call a specified function to update an animation before the next repaint.
Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows.
Returns the horizontal distance of the left border of the user's browser from the left side of the screen.
Returns the vertical distance of the top border of the user's browser from the top edge of the screen.
Scrolls the window to a particular place in the document.
Scrolls the document in the window by the given amount.
Scrolls to a particular set of coordinates in the document.
Returns an object reference to the window object itself.
This is a global object (sessionStorage) that maintains a storage area that's available for the duration of the page session.
Calls a function or executes a code snippet repeatedly, with a fixed time delay between each call to that function.
Calls a function or executes a code snippet after a specified delay.
The Window.showModalDialog() creates and displays a modal dialog box containing a specified HTML document.
The URI of the document to display in the dialog box
An optional variant the contains values that should be passed to the
dialog box; these are made available in the
An optional String that specifies window ornamentation
Short aliasas of all the dom.SVGThing classes
Returns a reference to the topmost window in the window hierarchy.
Short aliasas of all the dom.WebGLThing classes
The window property of a window object points to the window object itself.