Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm tired of this.."WebPage U R viewing is tryin to close the window..

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0


Is there any way to CLOSE a window automatically without having the "The Web Page you are viewing is trying to close the window. Do you want to close this window?" message pop-up???

Thanks much!
 
no
there's nothing you can do about it
 
Unless it's a window that has been opened by one of your pages "pop-up style", in which case, that message won't be displayed.

 
and you can "force" them to close it of you need to, like so (warning:this is very annoying):

function forceClose()
{
setInterval(function(){self.close()},1)
} jared@eae.net -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top