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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Close Browser 1

Status
Not open for further replies.

whloo

Programmer
Apr 14, 2003
168
0
0
SG
Hi, i am trying to make my program auto close my browser which prompting the dialog box that ask for my confirmation.

is there anyway to do it?

thanks in advance!
 

Try this hack:

Code:
opener = self;
self.close();

I have no idea if it still works with SP2 applied to Win XP, but it may do.

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
thanks BillyRayPreachersSon for the reply!
it works!!! i m using xp with sp2 now :)
so, it shld work for all windows version?
 

Most likely, yes... Don't expect it to work forever though - it may well be changed at some point.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
If you are setting up an intranet app, then there is a more stable solution that you could use for Firefox.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top