http://www.csnserver.com
Click here for Low cost website hosting!

IP Address Lookup
IP Address

Microsoft Windows Tips And Tricks!



Welcome!

Link to close window or page without getting the security message " Do you want to close page dialog"


Have you wanted to close a page or browser window with out the warning message? Well try the one line code below and fool your browser into letting you bypass the warning dialog popup. This will give you a one click clean page close.

html code:
<a href="JavaScript:window.open('', '_self', ''); window.close();">Click here to close this page when finished</a>


You can change the text in the link to your liking, add font color or whatever you want. If you want to test this code click the below link of the code in action. Note: Open another copy of this page or bookmark it, because it will close and be gone!

Click here to close this page when finished


Thanks for visiting mswintips.com.

Return to Index Page


Valid HTML 4.01 Transitional
Copyright 2018 CSN All Rights Reserved