window.closed always false when pop-ups setting set to block all pop-ups
-
alexysche last edited by
When I try this code:
var wnd = window.open(...); setInterval(function(){ if(wnd.closed !== false) alert("closed");}, 500);
And settings "pop-ups" is: "block all pop-ups", alert("closed") will never work!
Is it bug, how to fix it?
-
sgunhouse Moderator Volunteer last edited by
Which version of Opera?
I know Presto (Opera 12 and earlier) did that intentionally - so that sites wouldn't kick you out for blocking their pop-ups. I don't know what current versions do.
Though you're in the wrong part of the forum - this area is for discussing the "My Opera" website.
-
alexysche last edited by
Originally posted by sgunhouse:
Which version of Opera?
12.15
Originally posted by sgunhouse:
I know Presto (Opera 12 and earlier) did that intentionally - so that sites wouldn't kick you out for blocking their pop-ups. I don't know what current versions do.
Though you're in the wrong part of the forum - this area is for discussing the "My Opera" website.
Sorry, you can move this post to the right part of the forum? I saw this text: "Feedback, requests and bug reports about My Opera community." and it confused me.
-
blackbird71 last edited by
Originally posted by sgunhouse:
... I know Presto (Opera 12 and earlier) did that intentionally - so that sites wouldn't kick you out for blocking their pop-ups. ...
Hmmm. And then we wonder why a number of website coders either refused to code their sites for Presto or actively sniffed against it... just sayin'