Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] closing IE window using javascript


  • From: ShawnMilo at runbox.com (Shawn Milo)
  • Subject: [Javascript] closing IE window using javascript
  • Date: Tue Jan 11 14:52:52 2005

You can't do it unless it's a window you opened with Javascript.

I think there was a work-around at one point, but it only works with
certain versions of IE, and therefore mostly useless.

Shawn

> Hi Everyone,
> 
>     I am sorry if another thread already exists on this subject. Here is what I am trying to do. I want to close the IE browser with "window.close" method in Windows 98 FE. However, a security warning "The web page you are viewing is trying to close the window. Do you want to close this window? Yes|No " is popping up. Is there any possibility to close a window silently? I tried the following also, but it didn't help.
> 
> window.opener=top;
> window.close();
> 
> On the whole, my html page is pretty simple - 
> <HTML>
> <BODY >
> <a href="javascript:window.opener=top; window.close();">Close</a> 
> </BODY>
> </HTML>
> 
> Thank you very much in advance,
> Nalini.
> 
> 
> 
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript