summaryrefslogtreecommitdiff
path: root/src/xss
diff options
context:
space:
mode:
Diffstat (limited to 'src/xss')
-rw-r--r--src/xss/XSS.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xss/XSS.js b/src/xss/XSS.js
index f95ea04..7851e98 100644
--- a/src/xss/XSS.js
+++ b/src/xss/XSS.js
@@ -113,6 +113,8 @@ var XSS = (() => {
return {
async start() {
+ if (!UA.isMozilla) return; // async webRequest is supported on Mozilla only
+
let {onBeforeRequest} = browser.webRequest;
if (onBeforeRequest.hasListener(requestListener)) return;