Check if original window opener is still open


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if (window.opener && window.opener.open && !window.opener.closed)
  2. {
  3. // Do things
  4. }

URL: http://www.webdeveloper.com/forum/archive/index.php/t-28944.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.