"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

Data visualization for Roadmap Microsite (Angular and D3.js)

Conceptual design

Four tools for prototyping: Sketch, Figma, Principle, and FramerX