webext-content-scripts
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -148,3 +148,3 @@ import chromeP from 'webext-polyfill-kinda'; | ||
const cleanUrl = url.replace(/^https?:\/\//, ''); | ||
return blockedPrefixes.every(blocked => cleanUrl.startsWith(blocked)); | ||
return blockedPrefixes.every(blocked => !cleanUrl.startsWith(blocked)); | ||
} |
{ | ||
"name": "webext-content-scripts", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Utility functions to inject content scripts in WebExtensions, for Manifest v2 and v3", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
14803