2015-08-01 03:38:02 +02:00
|
|
|
{
|
2022-05-26 06:48:23 +02:00
|
|
|
"action": {
|
2015-08-01 03:38:02 +02:00
|
|
|
"default_icon": {
|
2019-11-15 04:31:34 +01:00
|
|
|
"16": "images/icon-16.png",
|
2015-08-01 03:38:02 +02:00
|
|
|
"19": "images/icon-19.png",
|
2019-11-15 04:31:34 +01:00
|
|
|
"32": "images/icon-32.png",
|
|
|
|
"38": "images/icon-38.png",
|
|
|
|
"64": "images/icon-64.png",
|
|
|
|
"128": "images/icon-128.png",
|
|
|
|
"512": "images/icon-512.png"
|
2015-08-01 03:38:02 +02:00
|
|
|
},
|
2015-12-22 22:07:30 +01:00
|
|
|
"default_title": "MetaMask",
|
|
|
|
"default_popup": "popup.html"
|
2015-08-01 03:38:02 +02:00
|
|
|
},
|
2022-05-26 06:48:23 +02:00
|
|
|
"author": "https://metamask.io",
|
|
|
|
"background": {
|
|
|
|
"service_worker": "app-init.js"
|
|
|
|
},
|
2020-09-23 16:51:42 +02:00
|
|
|
"commands": {
|
|
|
|
"_execute_browser_action": {
|
|
|
|
"suggested_key": {
|
|
|
|
"windows": "Alt+Shift+M",
|
|
|
|
"mac": "Alt+Shift+M",
|
|
|
|
"chromeos": "Alt+Shift+M",
|
|
|
|
"linux": "Alt+Shift+M"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-08-01 03:38:02 +02:00
|
|
|
"content_scripts": [
|
|
|
|
{
|
2020-09-11 15:57:39 +02:00
|
|
|
"matches": ["file://*/*", "http://*/*", "https://*/*"],
|
2020-12-08 19:38:31 +01:00
|
|
|
"js": [
|
2020-12-14 20:17:13 +01:00
|
|
|
"disable-console.js",
|
2020-12-08 19:38:31 +01:00
|
|
|
"globalthis.js",
|
2021-07-15 19:59:34 +02:00
|
|
|
"lockdown-install.js",
|
|
|
|
"lockdown-run.js",
|
2021-10-01 20:53:12 +02:00
|
|
|
"lockdown-more.js",
|
2020-12-08 19:38:31 +01:00
|
|
|
"contentscript.js"
|
|
|
|
],
|
2015-08-01 03:38:02 +02:00
|
|
|
"run_at": "document_start",
|
2017-03-26 13:57:44 +02:00
|
|
|
"all_frames": true
|
2018-08-05 08:43:02 +02:00
|
|
|
},
|
|
|
|
{
|
2020-09-11 15:57:39 +02:00
|
|
|
"matches": ["*://connect.trezor.io/*/popup.html"],
|
|
|
|
"js": ["vendor/trezor/content-script.js"]
|
2015-08-01 03:38:02 +02:00
|
|
|
}
|
|
|
|
],
|
2020-09-23 16:51:42 +02:00
|
|
|
"default_locale": "en",
|
|
|
|
"description": "__MSG_appDescription__",
|
|
|
|
"icons": {
|
|
|
|
"16": "images/icon-16.png",
|
|
|
|
"19": "images/icon-19.png",
|
|
|
|
"32": "images/icon-32.png",
|
|
|
|
"38": "images/icon-38.png",
|
2020-12-03 22:14:21 +01:00
|
|
|
"48": "images/icon-48.png",
|
2020-09-23 16:51:42 +02:00
|
|
|
"64": "images/icon-64.png",
|
|
|
|
"128": "images/icon-128.png",
|
|
|
|
"512": "images/icon-512.png"
|
|
|
|
},
|
2022-05-26 06:48:23 +02:00
|
|
|
"manifest_version": 3,
|
2020-09-23 16:51:42 +02:00
|
|
|
"name": "__MSG_appName__",
|
2015-08-02 01:33:31 +02:00
|
|
|
"permissions": [
|
2016-02-13 05:01:48 +01:00
|
|
|
"storage",
|
2018-01-24 20:36:15 +01:00
|
|
|
"unlimitedStorage",
|
2019-06-03 20:50:26 +02:00
|
|
|
"clipboardWrite",
|
2017-09-21 09:13:53 +02:00
|
|
|
"http://localhost:8545/",
|
2018-05-04 13:57:19 +02:00
|
|
|
"https://*.infura.io/",
|
2022-06-07 02:13:42 +02:00
|
|
|
"https://chainid.network/chains.json",
|
2022-03-07 16:28:30 +01:00
|
|
|
"https://lattice.gridplus.io/*",
|
2018-05-04 13:57:19 +02:00
|
|
|
"activeTab",
|
|
|
|
"webRequest",
|
2018-06-25 05:50:55 +02:00
|
|
|
"*://*.eth/",
|
2018-07-19 22:34:06 +02:00
|
|
|
"notifications"
|
2018-03-07 02:30:12 +01:00
|
|
|
],
|
2020-09-23 16:51:42 +02:00
|
|
|
"short_name": "__MSG_appName__",
|
2022-05-26 06:48:23 +02:00
|
|
|
"web_accessible_resources": [
|
|
|
|
{
|
|
|
|
"resources": ["inpage.js", "phishing.html"],
|
|
|
|
"matches": ["http://*/*", "https://*/*"]
|
|
|
|
}
|
|
|
|
]
|
2019-07-18 23:16:30 +02:00
|
|
|
}
|