aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/js/dom/css-style-applier.js2
-rw-r--r--ext/manifest.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/dom/css-style-applier.js b/ext/js/dom/css-style-applier.js
index 32d7ef0f..593e7a46 100644
--- a/ext/js/dom/css-style-applier.js
+++ b/ext/js/dom/css-style-applier.js
@@ -83,7 +83,7 @@ class CssStyleApplier {
// Private
async _fetchJsonAsset(url) {
- const response = await fetch(chrome.runtime.getURL(url), {
+ const response = await fetch(url, {
method: 'GET',
mode: 'no-cors',
cache: 'default',
diff --git a/ext/manifest.json b/ext/manifest.json
index a5c70ebd..73cbbe05 100644
--- a/ext/manifest.json
+++ b/ext/manifest.json
@@ -72,7 +72,7 @@
"pages": [
"template-renderer.html"
],
- "content_security_policy": "sandbox allow-scripts; default-src 'self'; script-src 'self' 'unsafe-eval'"
+ "content_security_policy": "sandbox allow-scripts; default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'unsafe-inline'"
},
"permissions": [
"<all_urls>",