diff options
author | Jesús <heckyel@hyperbola.info> | 2021-01-09 11:15:41 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-01-09 11:15:41 -0500 |
commit | 78abaf7aba2c09769ab85c1ea8469abe99d2b53d (patch) | |
tree | e899cb332f9528743859d009be42e0e0664e941c | |
parent | 5c22c654ce6d645b24e006f170dfeb086ca337f1 (diff) | |
download | yt-local-78abaf7aba2c09769ab85c1ea8469abe99d2b53d.tar.lz yt-local-78abaf7aba2c09769ab85c1ea8469abe99d2b53d.tar.xz yt-local-78abaf7aba2c09769ab85c1ea8469abe99d2b53d.zip |
General theme: fix support 'Content-Security-Policy' with librejs in UXP
-rw-r--r-- | youtube/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html index d410e0d..e025abd 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -3,7 +3,7 @@ <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> - <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; media-src 'self' https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}"/> + <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval'; media-src 'self' https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}"/> <title>{{ page_title }}</title> <link title="Youtube local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"/> <link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/> |