mirror of
https://github.com/electron/electron.git
synced 2026-01-29 09:18:18 -05:00
10 lines
237 B
HTML
10 lines
237 B
HTML
<html>
|
|
<body>
|
|
<script type="text/javascript" charset="utf-8">
|
|
const {ipcRenderer, webFrame} = require('electron')
|
|
webFrame.setZoomLevel(1.0)
|
|
ipcRenderer.send('temporary-zoom-set', webFrame.getZoomLevel())
|
|
</script>
|
|
</body>
|
|
</html>
|