2015-09-22 14:36:46 +00:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
2015-11-12 10:28:04 +00:00
|
|
|
var size = require('electron').remote.getCurrentWindow().getSize();
|
2015-12-02 19:50:44 +00:00
|
|
|
window.opener.postMessage('size: ' + size[0] + ' ' + size[1], '*')
|
2015-09-22 14:36:46 +00:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|