10 lines
216 B
HTML
10 lines
216 B
HTML
|
<html>
|
||
|
<body>
|
||
|
<script type="text/javascript" charset="utf-8">
|
||
|
window.addEventListener('unload', function (e) {
|
||
|
require('fs').writeFileSync(__dirname + '/test', 'unload');
|
||
|
}, false);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|