discord-sandboxed/index.html

17 lines
795 B
HTML
Raw Normal View History

2019-10-07 05:06:55 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
2019-10-20 03:38:47 +00:00
<!--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'">
2019-10-07 06:54:38 +00:00
<link type="text/css" rel="stylesheet" href="./css/style.css">
2019-10-07 05:06:55 +00:00
</head>
<body>
2019-10-12 01:51:13 +00:00
2019-10-20 03:38:47 +00:00
<!-- 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'" src="https://discordapp.com/login"></webview>
2019-10-07 05:06:55 +00:00
2019-10-12 01:51:13 +00:00
<script src="./renderer.js"></script>
2019-10-07 05:06:55 +00:00
</body>
</html>