We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE

window.opener Redirect 1

There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

{{ APIRef }}


Returns a reference to the window that opened this current window.


objRef = window.opener;


if (window.opener != indexWin) {


When a window is opened from another window, it maintains a reference to that first window as window.opener. If the current window has no opener, this method returns NULL.  Windows Phone browser does not support window.opener.  It is also not supported in IE if the opener is in a different security zone.

Document Tags and Contributors

 Last updated by: Sheppy,