1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fix(18190): add tabs to permission when initializing app (#18218)

This commit is contained in:
Danica Shen 2023-03-22 15:43:03 +00:00 committed by GitHub
parent 735f86cac2
commit 1eb102fd96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 62 additions and 28 deletions

View File

@ -60,19 +60,5 @@
},
"manifest_version": 2,
"name": "__MSG_appName__",
"permissions": [
"storage",
"unlimitedStorage",
"clipboardWrite",
"http://localhost:8545/",
"https://*.infura.io/",
"https://*.codefi.network/",
"https://chainid.network/chains.json",
"https://lattice.gridplus.io/*",
"activeTab",
"webRequest",
"*://*.eth/",
"notifications"
],
"short_name": "__MSG_appName__"
}

View File

@ -4,5 +4,19 @@
"matches": ["https://metamask.io/*"],
"ids": ["*"]
},
"minimum_chrome_version": "80"
"minimum_chrome_version": "80",
"permissions": [
"storage",
"unlimitedStorage",
"clipboardWrite",
"http://localhost:8545/",
"https://*.infura.io/",
"https://*.codefi.network/",
"https://chainid.network/chains.json",
"https://lattice.gridplus.io/*",
"activeTab",
"webRequest",
"*://*.eth/",
"notifications"
]
}

View File

@ -4,5 +4,20 @@
"id": "webextension@metamask.io",
"strict_min_version": "78.0"
}
}
},
"permissions": [
"storage",
"unlimitedStorage",
"clipboardWrite",
"http://localhost:8545/",
"https://*.infura.io/",
"https://*.codefi.network/",
"https://chainid.network/chains.json",
"https://lattice.gridplus.io/*",
"activeTab",
"tabs",
"webRequest",
"*://*.eth/",
"notifications"
]
}

View File

@ -65,15 +65,5 @@
},
"manifest_version": 3,
"name": "__MSG_appName__",
"permissions": [
"activeTab",
"alarms",
"clipboardWrite",
"notifications",
"scripting",
"storage",
"unlimitedStorage",
"webRequest"
],
"short_name": "__MSG_appName__"
}

View File

@ -6,5 +6,19 @@
"matches": ["https://metamask.io/*"],
"ids": ["*"]
},
"minimum_chrome_version": "80"
"minimum_chrome_version": "80",
"permissions": [
"storage",
"unlimitedStorage",
"clipboardWrite",
"http://localhost:8545/",
"https://*.infura.io/",
"https://*.codefi.network/",
"https://chainid.network/chains.json",
"https://lattice.gridplus.io/*",
"activeTab",
"webRequest",
"*://*.eth/",
"notifications"
]
}

View File

@ -22,5 +22,20 @@
"default_title": "MetaMask",
"default_popup": "popup.html"
},
"manifest_version": 2
"manifest_version": 2,
"permissions": [
"storage",
"unlimitedStorage",
"clipboardWrite",
"http://localhost:8545/",
"https://*.infura.io/",
"https://*.codefi.network/",
"https://chainid.network/chains.json",
"https://lattice.gridplus.io/*",
"tabs",
"activeTab",
"webRequest",
"*://*.eth/",
"notifications"
]
}