Interact with browser windows. You can use this API to get information about open windows and to open, modify, and close windows. You can also listen for window open, close, and activate events.
- Gets details about a window, given its ID.
- Gets the current window.
- Gets the window that was most recently focused — typically the window 'on top'.
- Gets all windows.
Creates a new window.
- Updates the properties of a window. Use this to move, resize, and (un)focus a window, etc.
- Closes a window, and all its tabs.
BCD tables only load in the browser
Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.