diff options
author | hackademix | 2018-08-18 03:16:54 +0200 |
---|---|---|
committer | hackademix | 2018-08-18 03:20:33 +0200 |
commit | 2f9c5299afe0d612deff7f89c948bb44332f2abf (patch) | |
tree | 343fe4435bef995b4029656563ce6194829ea641 /src/xss/XSS.js | |
parent | e959accb70ea00f99fa611c9f1af40e1be5bde92 (diff) | |
download | noscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.tar.gz noscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.tar.xz noscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.zip |
Removed all references to RequestUtil.js and dependancies.
Diffstat (limited to 'src/xss/XSS.js')
-rw-r--r-- | src/xss/XSS.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xss/XSS.js b/src/xss/XSS.js index 94e33fa..89f13f7 100644 --- a/src/xss/XSS.js +++ b/src/xss/XSS.js @@ -61,8 +61,9 @@ var XSS = (() => { let block = !!(reasons.urlInjection || reasons.postInjection) if (reasons.protectName) { - RequestUtil.executeOnStart(request, { - file: "/xss/sanitizeName.js", + await include("bg/COntentScriptOnce.js"); + await ContentScriptOnce.execute(request, { + js: [{file: "/xss/sanitizeName.js"}], }); if (!block) return ALLOW; } |