19 lines
849 B
HTML
19 lines
849 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<!--style-src 'self' 'unsafe-inline' needs evaluation, some conflict with node_modules\electron\dist\resources\electron.asar\renderer\web-view\web-view-impl.js-->
|
|
<meta http-equiv="Content-Security-Policy" content="default-src none; script-src 'self'; style-src 'self' 'unsafe-inline'">
|
|
<link type="text/css" rel="stylesheet" href="./css/style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="overlay"></div>
|
|
|
|
<!-- https://electronjs.org/docs/tutorial/security#15-disable-the-remote-module -->
|
|
<webview id="discord" enableremotemodule="false" webpreferences="useragent='Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like Gecko'" partition="persist:discord" src="https://discordapp.com/login"></webview>
|
|
|
|
<script src="./renderer.js"></script>
|
|
</body>
|
|
</html>
|