From 9a53d48f4155ada54d7838ad7800277bee85a93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E5=BF=83=E7=A6=BE?= Date: Mon, 20 Jul 2020 22:09:11 +0800 Subject: [PATCH] WebExtension: Remove hash from url Fix the bug of not showing popup when the url contains hash --- src/drivers/webextension/js/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/webextension/js/content.js b/src/drivers/webextension/js/content.js index 71dfbd994..3b031d84b 100644 --- a/src/drivers/webextension/js/content.js +++ b/src/drivers/webextension/js/content.js @@ -111,7 +111,7 @@ const Content = { chrome.runtime.sendMessage({ source: 'content.js', func: 'analyzeJs', - args: [location.href, data.wappalyzer.js] + args: [location.href.split('#')[0], data.wappalyzer.js] }) script.remove()