Skip to content

Instantly share code, notes, and snippets.

@imansigupta
Created June 10, 2020 11:02
Show Gist options
  • Save imansigupta/4b54cb2e143b86c2630ba69c023aba04 to your computer and use it in GitHub Desktop.
Save imansigupta/4b54cb2e143b86c2630ba69c023aba04 to your computer and use it in GitHub Desktop.
A code snippet from index.html
<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.nodeRequire = require;
delete window.require;
delete window.exports;
delete window.module;
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Electron Basics</title>
<link rel="shortcut icon" href="images/electron_logo.png" type="image/x-icon">
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
</head>
<body>
<h1>Hello Electron :)</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment