Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q250 How can I close a window as soon as the document starts to load?

You are here: irt.org | FAQ | JavaScript | Window | Q250 [ previous next ]

Try something like:

<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript"><!--
window.close();
//--></SCRIPT>
</HEAD>

<BODY>
... rest of document
</BODY>
</HTML>

©2018 Martin Webb