Merge pull request #283 from privacytoolsIO/CSP-changes

CSP changes
This commit is contained in:
Kewde 2017-07-17 23:11:28 +00:00 committed by GitHub
commit 63300592f6
3 changed files with 15 additions and 7 deletions

View File

@ -7,9 +7,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="shortcut icon" href="favicon.ico" type="image/ico"> <link rel="shortcut icon" href="favicon.ico" type="image/ico">
<!-- content security policy --> <!-- content security policy -->
<meta http-equiv='Content-Security-Policy' content="Content-Security-Policy: default-src https:; script-src https://privacytoolsio.github.io"; style-src 'unsafe-inline'> <meta http-equiv='Content-Security-Policy' content="default-src 'self'; script-src https://privacytoolsio.github.io http://privacytoolsio.github.io; style-src 'self'">
<!-- referrer policy --> <!-- referrer policy -->
<meta http-equiv="Referrer-Policy" content="no-referrer"> <meta http-equiv="Referrer-Policy" content="no-referrer">
</head> </head>
<body> <body>

View File

@ -5,10 +5,14 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Secure Password Generator | Privacy Tools</title> <title>Secure Password Generator | Privacy Tools</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- content security policy -->
<meta http-equiv='Content-Security-Policy' content="Content-Security-Policy: default-src https:; script-src https://privacytoolsio.github.io"; style-src 'unsafe-inline'> <!-- content security policy -->
<!-- referrer policy --> <meta http-equiv='Content-Security-Policy' content="default-src 'self'; script-src https://privacytoolsio.github.io http://privacytoolsio.github.io; style-src 'self'">
<!-- referrer policy -->
<meta http-equiv="Referrer-Policy" content="no-referrer"> <meta http-equiv="Referrer-Policy" content="no-referrer">
<link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/bootstrap.min.css" rel="stylesheet">
<style> <style>
.container { .container {

View File

@ -7,9 +7,11 @@
<link rel="shortcut icon" href="favicon.ico" type="image/ico"> <link rel="shortcut icon" href="favicon.ico" type="image/ico">
<link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/bootstrap.min.css" rel="stylesheet">
<!-- content security policy --> <!-- content security policy -->
<meta http-equiv='Content-Security-Policy' content="Content-Security-Policy: default-src https:; script-src https://privacytoolsio.github.io"; style-src 'unsafe-inline'> <meta http-equiv='Content-Security-Policy' content="default-src 'self'; script-src https://privacytoolsio.github.io http://privacytoolsio.github.io; style-src 'self'">
<!-- referrer policy --> <!-- referrer policy -->
<meta http-equiv="Referrer-Policy" content="no-referrer"> <meta http-equiv="Referrer-Policy" content="no-referrer">
</head> </head>
<body> <body>