history.html 242 B

123456789
  1. <html>
  2. <body>
  3. <script type="text/javascript" charset="utf-8">
  4. window.history.pushState(window.history.state, "test page", "foo.html")
  5. require('electron').ipcRenderer.sendToHost('history', window.history.length);
  6. </script>
  7. </body>
  8. </html>