"The webpage you are viewing is trying to close this window"

In Internet Explorer 6 there is the way to close window by javascript without warning: "The webpage you are viewing is trying to close this window":


window.opener = top; window.close();

But not in IE 7 unless window was opened by your javascript from other window.

Comments

  1. I wanted to take a moment to say thanks for this, as it saved the day(or at least my problem) ;)

    thanks,
    json

    ReplyDelete

Post a Comment

Popular posts from this blog

Using Trello and Confluence to manage UX design project. Part 2

How do I use InVision

Using Trello and Confluence to manage UX design project. Part 1