Skip to content

Instantly share code, notes, and snippets.

@janschmutz
janschmutz / index.html
Created February 8, 2024 19:45
Electron BrowserView not properly cleared on window.close()
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
</head>
<body>