Merge branch 'INDA-330-pii-update' into 'main'
[ProtonMail-WebClient.git] / applications / pass-extension / manifest-chrome.json
blobd450208c167d3e372f064fc55707e7574f3b3c77
2     "name": "Proton Pass: Free Password Manager",
3     "description": "Free and fully encrypted password manager to keep your logins and passwords safe.",
4     "version": "1.25.0",
5     "manifest_version": 3,
6     "minimum_chrome_version": "102",
7     "background": {
8         "service_worker": "background.js"
9     },
10     "content_security_policy": {
11         "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
12     },
13     "content_scripts": [
14         {
15             "matches": ["https://*/*", "http://*/*"],
16             "exclude_matches": [
17                 "https://pass.proton.me/*",
18                 "https://pass.proton.local/*",
19                 "https://pass.proton.black/*",
20                 "https://pass.proton.pink/*",
21                 "https://pass.protontech.ch/*"
22             ],
23             "js": ["orchestrator.js"],
24             "all_frames": false,
25             "run_at": "document_end"
26         },
27         {
28             "matches": ["https://*/*", "http://*/*"],
29             "exclude_matches": [
30                 "https://pass.proton.me/*",
31                 "https://pass.proton.local/*",
32                 "https://pass.proton.black/*",
33                 "https://pass.proton.pink/*",
34                 "https://pass.protontech.ch/*"
35             ],
36             "js": ["webauthn.js"],
37             "all_frames": false,
38             "run_at": "document_start",
39             "world": "MAIN"
40         }
41     ],
42     "externally_connectable": {
43         "matches": [
44             "https://*.proton.me/*",
45             "https://*.proton.local/*",
46             "https://*.proton.black/*",
47             "https://*.proton.pink/*",
48             "https://*.protontech.ch/*"
49         ]
50     },
51     "permissions": ["activeTab", "alarms", "scripting", "storage", "unlimitedStorage", "webRequest"],
52     "optional_permissions": ["privacy"],
53     "host_permissions": ["https://*/*", "http://*/*"],
54     "options_ui": {
55         "page": "settings.html"
56     },
57     "action": {
58         "default_popup": "popup.html",
59         "default_icon": {
60             "16": "/assets/protonpass-icon-16.png",
61             "32": "/assets/protonpass-icon-32.png",
62             "48": "/assets/protonpass-icon-48.png",
63             "128": "/assets/protonpass-icon-128.png"
64         }
65     },
66     "icons": {
67         "16": "/assets/protonpass-icon-16.png",
68         "32": "/assets/protonpass-icon-32.png",
69         "48": "/assets/protonpass-icon-48.png",
70         "128": "/assets/protonpass-icon-128.png"
71     },
72     "web_accessible_resources": [
73         {
74             "resources": [
75                 "dropdown.html",
76                 "notification.html",
77                 "elements.js",
78                 "assets/*.csv",
79                 "assets/*.png",
80                 "assets/*.svg",
81                 "assets/*.woff",
82                 "assets/*.woff2"
83             ],
84             "matches": ["https://*/*", "http://*/*"]
85         },
86         {
87             "resources": ["*.wasm"],
88             "matches": ["<all_urls>"]
89         }
90     ]