Files
firefox/browser/base/content/test/general/close_beforeunload.html
T
2016-08-31 12:53:24 -04:00

9 lines
154 B
HTML

<body>
<p>I will close myself if you close me.</p>
<script>
window.onbeforeunload = function() {
window.close();
};
</script>
</body>