Don't remove the CSP completely
This commit is contained in:
parent
4f46e14ad0
commit
ed0b20e6c8
@ -3,9 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ page_title }}</title>
|
||||
{% if settings.proxy_images %}
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; media-src 'self' https://*.googlevideo.com">
|
||||
{% endif %}
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; media-src 'self' https://*.googlevideo.com;
|
||||
{{ "img-src https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}">
|
||||
<link href="{{ theme_path }}" type="text/css" rel="stylesheet">
|
||||
<link href="/youtube.com/static/shared.css" type="text/css" rel="stylesheet">
|
||||
<link href="/youtube.com/static/comments.css" type="text/css" rel="stylesheet">
|
||||
|
Loading…
x
Reference in New Issue
Block a user