32 lines
810 B
JSON
32 lines
810 B
JSON
{
|
|
"name": "polkadot{.js} extension",
|
|
"version": "0.0.1",
|
|
"manifest_version": 2,
|
|
"permissions": ["activeTab", "storage"],
|
|
"background": {
|
|
"scripts": ["background.js"],
|
|
"persistent": true
|
|
},
|
|
"browser_action": {
|
|
"default_title": "polkadot{.js}",
|
|
"default_popup": "popup.html"
|
|
},
|
|
"content_scripts": [{
|
|
"js": ["loader.js"],
|
|
"matches": [
|
|
"https://polkadot.js.org/apps/*",
|
|
"http://localhost:3000/*"
|
|
],
|
|
"run_at": "document_start"
|
|
}],
|
|
"icons": {
|
|
"16": "images/icon-16.png",
|
|
"32": "images/icon-32.png",
|
|
"48": "images/icon-48.png",
|
|
"64": "images/icon-64.png",
|
|
"128": "images/icon-128.png"
|
|
},
|
|
"web_accessible_resources": ["inject.js"],
|
|
"content_security_policy": "script-src 'self' 'unsafe-eval' 'wasm-eval'; object-src 'self'"
|
|
}
|