Skip to content

Commit

Permalink
Fix CSP things for the website
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Jun 1, 2020
1 parent 8161477 commit d33918d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Matt Godbolt">
<meta name="description" content="A Javascript BBC Micro emulator">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval';" />
<meta http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google-analytics.com *.google.com;"/>
<title>JSBeeb - Javascript BBC Micro emulator</title>
<link rel="stylesheet" href="lib/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="jsbeeb.css" type="text/css">
Expand Down Expand Up @@ -95,15 +96,16 @@
</li>
</ul>
<div style="float:left; padding-top:12px; padding-left:32px;">
<input id="paste-text" type="text" maxlength="0" placeholder="Paste text or drop files here..." style="width:200px;"></input>
<input id="paste-text" type="text" maxlength="0" placeholder="Paste text or drop files here..."
style="width:200px;"></input>
</div>
</div>
<!--/.nav-collapse -->
</div>
</div>

<div id="audio-warning" class="alert alert-warning initially-hidden">
Your browser has suspended audio -- mouse click or key press for sound.
Your browser has suspended audio -- mouse click or key press for sound.
</div>

<div>
Expand Down

0 comments on commit d33918d

Please sign in to comment.