summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bg/RequestUtil.js5
-rw-r--r--src/manifest.json2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/bg/RequestUtil.js b/src/bg/RequestUtil.js
index 659fd33..8a6e621 100644
--- a/src/bg/RequestUtil.js
+++ b/src/bg/RequestUtil.js
@@ -99,10 +99,9 @@
return;
}
- if (request.type === "main_frame"
- && /^(?:application|text)\//.test(contentType)
+ if (/^(?:application|text)\//.test(contentType)
&& !/[^;]+\b(html|xml)\b/i.test(contentType)) {
- debug("Not HTML, but top-level document: defer script to onResponseStarted for %s (%o)", url, response);
+ debug("Not HTML: defer script to onResponseStarted for %s (%o)", url, response);
return;
}
diff --git a/src/manifest.json b/src/manifest.json
index c395bba..5f2689f 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -8,7 +8,7 @@
"strict_min_version": "59.0"
}
},
- "version": "10.1.8.9rc5",
+ "version": "10.1.8.9rc6",
"description": "__MSG_Description__",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'none'",