webRequestBlocking is required for chromium

This commit is contained in:
Sebastian 2022-03-15 12:23:41 -03:00
parent bcdd59a142
commit eb18c1f179
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ rm -rf extension/v2/unpacked
mkdir -p extension/v2/unpacked mkdir -p extension/v2/unpacked
(cd extension/v2/unpacked && unzip ../$zipfile) (cd extension/v2/unpacked && unzip ../$zipfile)
echo "Packed webextension: extension/v2/$zipfile" echo "Packed webextension: extension/v2/$zipfile"
cp -rf src extension/v2/unpacked
vers_manifest=$(jq -r '.version' manifest-v3.json) vers_manifest=$(jq -r '.version' manifest-v3.json)

View File

@ -15,6 +15,6 @@
*/ */
export const getReadRequestPermissions = () => ({ export const getReadRequestPermissions = () => ({
permissions: ["webRequest"], permissions: ["webRequest", "webRequestBlocking"],
origins: ["http://*/*", "https://*/*"], origins: ["http://*/*", "https://*/*"],
}) })