Skip to content

Instantly share code, notes, and snippets.

View neobyteUK's full-sized avatar

Richard Henry neobyteUK

  • Coventry, United Kingdom
View GitHub Profile
@neobyteUK
neobyteUK / index.html
Created May 7, 2024 12:22
WebContentsView BrowserWindow lookup
<!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'">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
@neobyteUK
neobyteUK / index.html
Last active October 7, 2022 08:52
Electron window resize bug
<!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>