16 lines
333 B
HTML
16 lines
333 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<body>
|
|
<webview nodeintegration src="./a.html"></webview>
|
|
<script>
|
|
var wv = document.querySelector('webview')
|
|
wv.addEventListener('dom-ready', () => {
|
|
wv.openDevTools()
|
|
})
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</html>
|