MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/d6d7ff2e2f9c

Add-ons

windows.WINDOW_ID_CURRENT

The windowId value for the current window.

Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
Basic support18Yes45No15

Acknowledgements

This API is based on Chromium's chrome.windows API. This documentation is derived from windows.json in the Chromium code.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

 Contributors to this page: hellosct1, wbamberg
 Last updated by: hellosct1,