<p dir="auto">const printButton = document.getElementById('printButton');<br>
printButton.addEventListener('click',(event) =&gt; {<br>
const webview = document.querySelector('#printWebview')<br>
alert(webview)<br>
//webview.send('webview-print-render')<br>
webview.print({ silent: true, printBackground: true, deviceName: 'XP-80C' },<br>
(data) =&gt; {<br>
console.log("webview success", data);<br>
}<br>
)<br>
})</p>
<p dir="auto">无论我 silent 是 true  还是 false 都会弹出打印机列表。是BUG吗？还是我哪里有问题？</p>
<p dir="auto">Just an idea. Looking at how powerful is Electron JS I came to this idea. Being daily using apps like Spotify, Github Desktop, etc. it's been noticed by everyone that they all use separate amounts of RAM on their own since each one run's it's own runtime.</p>
<p dir="auto">Now why don't we create a common runtime default that act's as master runtime engine so that it can be used by all apps that depend on Electron JS. Like WebViews + Node.JS instance that are connected to a master Electron JS runtime.</p>
<p dir="auto">Some efforts on just implementing native webviews have been made previously <a href="https://github.com/pojala/electrino">https://github.com/pojala/electrino</a> &amp; <a href="https://github.com/jscherer92/Quark">https://github.com/jscherer92/Quark</a> (these are the things I found may be more)</p>
<p dir="auto">So even can use MacOS's WebView /  Windows's ChakraCore + the common NodeJS runtime I earlier mentioned ... are their any thing similar to <a href="https://github.com/nodejs/node-chakracore">https://github.com/nodejs/node-chakracore</a> ???</p>