Skip to content

Instantly share code, notes, and snippets.

View VerteDinde's full-sized avatar

Keeley Hammond VerteDinde

View GitHub Profile
@VerteDinde
VerteDinde / index.html
Created March 3, 2022 23:06
Menu Item Visibility
<!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>
@VerteDinde
VerteDinde / index.html
Created January 21, 2022 18:40
bg-color-experiment
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<title>Hello World!</title>
<style>
body{
/* background: green; */
}
@VerteDinde
VerteDinde / index.html
Created January 14, 2022 00:57
shell open external repro
<!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'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
</head>
<body>
@VerteDinde
VerteDinde / index.html
Created January 11, 2022 17:16
context-menu-demo
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Customize Menus</title>
</head>
<body>
<div>
<h1>Customize Menus</h1>
@VerteDinde
VerteDinde / index.html
Created September 20, 2021 23:56
Child Window Node Integration Test
<!DOCTYPE html>
<html lang="en">
<head>
<title>BrowserWindow</title>
</head>
<body>
<h1>Hello from your BrowserWindow!</h1>
Parent window.
<button onClick="window.open('', '', 'top=500,left=200,frame=false,transparent=true,nodeIntegration=true');">Open Child About Blank</button>
@VerteDinde
VerteDinde / index.html
Created September 20, 2021 17:23
Neutral Fiddle Example
<!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'">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Hello World!</title>
</head>
<body>
@VerteDinde
VerteDinde / index.html
Last active September 20, 2021 17:34
Transparent Child Windows
<!DOCTYPE html>
<html lang="en">
<head>
<title>BrowserWindow</title>
</head>
<body>
<h1>Hello from your BrowserWindow!</h1>
Parent window.
<button onClick="window.open('', '', 'top=500,left=200,frame=false,transparent=true,nodeIntegration=true');">Open Child About Blank</button>
<!DOCTYPE html>
<html lang="en">
<head>
<title>BrowserWindow</title>
</head>
<body>
<h1>Hello from your BrowserWindow!</h1>
Parent window.
<button onClick="window.open('', '', 'top=500,left=200,frame=true,transparent=true,nodeIntegration=true');">Open Child About Blank</button>
@VerteDinde
VerteDinde / index.html
Created September 15, 2021 23:28
transparency-broken
<!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'">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Hello World!</title>
</head>
<body>
@VerteDinde
VerteDinde / index.html
Created September 15, 2021 22:05
Child Window Open
<!DOCTYPE html>
<html lang="en">
<head>
<title>BrowserWindow</title>
</head>
<body>
<h1>Hello from your BrowserWindow!</h1>
Parent window.
<button onClick="window.open('', '', 'top=500,left=200,transparent=true,nodeIntegration=true');">Open child</button>
<main class="app">