Erase a page without loading another pageTag(s): Varia


<HTML><HEAD><TITLE></TITLE></HEAD>
<BODY>
Yo!
<button onclick="document.location.href='about:blank'" >
erase me
</button>

<button onclick="location.replace('about:blank')" >
erase me (plus no history)
</button>
</BODY></HTML>
Try it :
blog comments powered by Disqus