From 2f9c5299afe0d612deff7f89c948bb44332f2abf Mon Sep 17 00:00:00 2001 From: hackademix Date: Sat, 18 Aug 2018 03:16:54 +0200 Subject: Removed all references to RequestUtil.js and dependancies. --- src/xss/XSS.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/xss/XSS.js') 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; } -- cgit v1.2.3