Don't reregister contentscripts if not necessary

This commit is contained in:
Ajay
2023-08-11 12:39:48 -04:00
parent 93d695e6c2
commit 6aeefaae64
2 changed files with 23 additions and 17 deletions

View File

@@ -54,7 +54,6 @@ export default class Utils {
if (!isFirefoxOrSafari() || isSafari()) {
permissions.push("webNavigation");
}
console.log(permissions)
chrome.permissions.request({
origins: this.getPermissionRegex(),