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 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">
@VerteDinde
VerteDinde / index.html
Last active September 15, 2021 00:09
transparent-child-window
<!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</button>
<main class="app">
@VerteDinde
VerteDinde / index.html
Created September 14, 2021 23:46
transparent-child-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">
@VerteDinde
VerteDinde / index.html
Created September 13, 2021 20:13
file-select-crash
<!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>