window.closed always false when pop-ups setting set to block all pop-ups

  • 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?

  • 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.

  • 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. 🙂

  • Yeah, 12.15 is Presto.

    Moved to Opera Browser.

  • 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' 😉

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.