2013-09-02 08:28:36 +00:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
window.onbeforeunload = function() {
|
2013-09-02 08:46:08 +00:00
|
|
|
setTimeout(function() {
|
2013-09-02 08:28:36 +00:00
|
|
|
require('remote').getCurrentWindow().emit('onbeforeunload');
|
2013-09-02 08:46:08 +00:00
|
|
|
}, 0);
|
2013-09-02 08:28:36 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
window.close();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|