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

Q435 How can I redirect the browser to the users homepage?

You are here: irt.org | FAQ | JavaScript | Redirect | Q435 [ previous next ]

In Netscape Navigator 4+:

<form>
<input type="button" onclick="if (window.home) window.home()" value="Home">
</form>

Pierre Metras points out:

This trick can be enhanced with the Internet Explorer version (tested with Internet Explorer 5).
<a href="about:home">My home page</a>

Feedback on 'Q435 How can I redirect the browser to the users homepage?'

©2018 Martin Webb