views:

60

answers:

1

How assure the closing of the window in the firefox with window.close command?

+4  A: 

How assure the closing of the window in the firefox with window.close command?

You can't. If you try window.close() in a window you didn't open programmatically, the user will (fortunately!) be asked whether they really want to close the window. There's no way around that.

Pekka