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