Update to more restrictive permissions

This commit is contained in:
Liam Steckler 2024-01-14 13:52:26 -08:00
parent fe7acc9940
commit 85975996d5

View file

@ -4,7 +4,7 @@
"version": "1.0.0", "version": "1.0.0",
"description": "Sets the User Agent header to one from Google Chrome when accessing Talkdesk sites, as they block any other User Agent.", "description": "Sets the User Agent header to one from Google Chrome when accessing Talkdesk sites, as they block any other User Agent.",
"permissions": [ "permissions": [
"declarativeNetRequest" "declarativeNetRequestWithHostAccess"
], ],
"host_permissions": [ "host_permissions": [
"*://*.talkdesk.com/*", "*://*.talkdesk.com/*",
@ -23,7 +23,7 @@
"declarative_net_request": { "declarative_net_request": {
"rule_resources": [ "rule_resources": [
{ {
"id": "talkdesk_useragent", "id": "talkdesk_useragent_ruleset",
"enabled": true, "enabled": true,
"path": "talkdesk_useragent_rule.json" "path": "talkdesk_useragent_rule.json"
} }