Context isolation for About, ScreenShare, Preferences

This commit is contained in:
Josh Perez
2021-09-16 11:52:56 -04:00
committed by GitHub
parent 59ca63cd2e
commit 43685d15c6
20 changed files with 234 additions and 321 deletions

View File

@@ -6,11 +6,7 @@
<meta
http-equiv="Content-Security-Policy"
content="default-src 'none';
child-src 'self';
connect-src 'self' https: wss:;
font-src 'self';
form-action 'self';
frame-src 'none';
img-src 'self' blob: data:;
media-src 'self' blob:;
object-src 'none';
@@ -23,54 +19,9 @@
type="text/css"
/>
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style>
body {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
overflow: hidden;
background-color: #3a76f0;
color: white;
font-size: 14px;
}
img {
margin-top: 1em;
}
a {
color: white;
}
</style>
</head>
<body>
<div class="module-splash-screen">
<div class="module-splash-screen__logo module-img--150"></div>
<div class="version"></div>
<div class="environment"></div>
<div>
<a href="https://signal.org">signal.org</a>
</div>
<br />
<div>
<a
class="acknowledgments"
href="https://github.com/signalapp/Signal-Desktop/blob/development/ACKNOWLEDGMENTS.md"
>Software Acknowledgments</a
>
</div>
<div>
<a class="privacy" href="https://signal.org/legal"
>Terms &amp; Privacy Policy</a
>
</div>
</div>
<script
type="text/javascript"
src="node_modules/jquery/dist/jquery.js"
></script>
<script type="text/javascript" src="js/about_start.js"></script>
<div id="app"></div>
<script type="application/javascript" src="ts/windows/init.js"></script>
</body>
</html>