11 lines
252 B
HTML
11 lines
252 B
HTML
<html>
|
|
<body>
|
|
<script type="text/javascript" charset="utf-8">
|
|
window.localStorage.setItem('test', 'test');
|
|
var ipc = require('ipc-renderer');
|
|
ipc.on('getcount', function() {
|
|
ipc.send('count', window.localStorage.length);
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|