8 lines
234 B
HTML
8 lines
234 B
HTML
<html>
|
|
<body>
|
|
<script type="text/javascript" charset="utf-8">
|
|
const {ipcRenderer, webFrame} = require('electron')
|
|
ipcRenderer.send('webview-zoom-level', webFrame.getZoomFactor(), webFrame.getZoomLevel())
|
|
</script>
|
|
</body>
|
|
</html>
|