Skip to content

Instantly share code, notes, and snippets.

View sunknudsen's full-sized avatar

Sun Knudsen sunknudsen

View GitHub Profile
@sunknudsen
sunknudsen / index.html
Last active August 10, 2023 17:48
Menu item visible property not working
<!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>
@sunknudsen
sunknudsen / index.html
Last active August 10, 2023 17:51
Screen sharing crashes app on Ubuntu 22.04.2 LTS
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Test</title>
</head>
<body>
<button id="button1">Step 1 (get source ID)</button> <span id="span"></span>
<br />