WebExtension: Remove hash from url

Fix the bug of not showing popup when the url contains hash
main
汪心禾 4 years ago
parent 04aa67964f
commit 9a53d48f41
No known key found for this signature in database
GPG Key ID: 0792B3266B499A3B

@ -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()

Loading…
Cancel
Save