Skip to content Skip to sidebar Skip to footer

Closing The Main Window Of The Browser

I'm using a WebKit-based browser (OWB) and I would like to close the browser by using a JavaScript function call. It seems that window.close closes windows created by another windo

Solution 1:

It's not possible, How would you like it if random sites can close your browser at will? I would definitely be looking for another browser. Can you explain why you need this (very annoying) behavior? I bet there are very good alternatives, from a usability perspective, to what you want to achieve.

As a side-note: WebKit is a HTML rendering engine and has in fact very little to do with javascript.


Post a Comment for "Closing The Main Window Of The Browser"