Javascript to close the browser window
This produces a link that, when clicked, will close the current browser window:
<a href="javascript:self.close()">Close the window</a>
If the current window is the original window opened by the user, the user will see a prompt asking whether it's ok to close the window.
[Previous] [Home] [Next]