30 lines
1.3 KiB
HTML
30 lines
1.3 KiB
HTML
<!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' 'unsafe-inline'; style-src 'self' 'unsafe-inline'">
|
|
<title>Sneedium</title>
|
|
<link href="./styles.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div id="navBar">
|
|
<button id="nwBtn">📄</button>
|
|
<input id="txtUrl" placeholder="Put the website here" name="url" type="text" onkeypress="clickPress(event)" />
|
|
<button onclick="go(); return false;" id="goBtn">✅</button>
|
|
<button onclick="refresh(); return false;" id="refreshBtn">🔄</button>
|
|
<button onclick="stop(); return false;" id="stopBtn">🛑</button>
|
|
<button onclick="back(); return false;" id="backBtn">⬅️</button>
|
|
<button onclick="forward(); return false;" id="forwardBtn">➡️</button>
|
|
<button id="camBtn">🎦</button>
|
|
</div>
|
|
<div id="whProtection">
|
|
<tab-group new-tab-button="true" sortable="true">
|
|
<webview id="foo" autosize plugins disablewebsecurity></webview>
|
|
</tab-group>
|
|
</div>
|
|
<script src="node_modules/electron-tabs/dist/electron-tabs.js"></script>
|
|
<script type="text/javascript" src="./config.js"></script>
|
|
<script type="text/javascript" src="./libbrowz.js"></script>
|
|
</body>
|
|
</html>
|