webRequestBlocking is required for chromium
This commit is contained in:
parent
bcdd59a142
commit
eb18c1f179
@ -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)
|
||||||
|
|
||||||
|
@ -15,6 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export const getReadRequestPermissions = () => ({
|
export const getReadRequestPermissions = () => ({
|
||||||
permissions: ["webRequest"],
|
permissions: ["webRequest", "webRequestBlocking"],
|
||||||
origins: ["http://*/*", "https://*/*"],
|
origins: ["http://*/*", "https://*/*"],
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user