Skip to content

Instantly share code, notes, and snippets.

View LewdEwe-ErikWallace's full-sized avatar

Erik Wallace LewdEwe-ErikWallace

View GitHub Profile
@LewdEwe-ErikWallace
LewdEwe-ErikWallace / clipboard.html
Last active June 4, 2020 07:46
This is an example of how to poll the clipboard for changes in an Electron application. See notes in HTML.
<!DOCTYPE html>
<html lang="en">
<head>
<title>My App - Clipboard</title>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' chrome-extension://*;">
</head>
<body>