From 20b689d015ea5743099bdafcac0c6ca6519c22db Mon Sep 17 00:00:00 2001 From: hackademix Date: Fri, 1 Feb 2019 01:16:33 +0100 Subject: Fallback XSS filtering to XSS Auditor since asynchronous webRequest handlers are not supported by Chromium. --- src/ui/options.css | 8 ++++++++ src/ui/options.html | 2 +- src/ui/options.js | 6 +++--- src/xss/XSS.js | 2 ++ 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/ui/options.css b/src/ui/options.css index f7db24b..9230eb1 100644 --- a/src/ui/options.css +++ b/src/ui/options.css @@ -185,3 +185,11 @@ input[type="file"] { border-radius: .2em .2em 0 0; padding: .2em .4em; } + +#xss-opt-group { + display: none; +} + +.mozwebext #xss-opt-group { + display: block; +} diff --git a/src/ui/options.html b/src/ui/options.html index 4d44d75..5198795 100644 --- a/src/ui/options.html +++ b/src/ui/options.html @@ -101,7 +101,7 @@