mirror of
https://github.com/nileshtrivedi/better
synced 2025-01-14 13:35:42 +01:00
Add extension id to make storage API work on Firefox in dev.
See - https://bugzilla.mozilla.org/show_bug.cgi?id=1323228 https://extensionworkshop.com/documentation/develop/extensions-and-the-add-on-id/
This commit is contained in:
parent
625ab7f5ca
commit
65b0b515ed
@ -1,28 +1,31 @@
|
|||||||
{
|
{
|
||||||
"name": "Better",
|
"name": "Better",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"icons": {
|
"icons": {
|
||||||
"48": "images/48.png",
|
"48": "images/48.png",
|
||||||
"128": "images/128.png"
|
"128": "images/128.png"
|
||||||
},
|
},
|
||||||
"description": "Find better products & services than the one you're currently visiting",
|
"browser_specific_settings": {
|
||||||
"permissions": ["activeTab", "storage"],
|
"gecko": {
|
||||||
"background": {
|
"id": "{02d8a7bd-79ba-4808-8e11-f3e19af43f90}"
|
||||||
"scripts": ["background.js"],
|
}
|
||||||
"persistent": false
|
},
|
||||||
},
|
"description": "Find better products & services than the one you're currently visiting",
|
||||||
"content_scripts": [
|
"permissions": ["activeTab", "storage"],
|
||||||
{
|
"background": {
|
||||||
"matches": ["https://*/*", "http://*/*"],
|
"scripts": ["background.js"],
|
||||||
"js": ["contentscript.js"]
|
"persistent": false
|
||||||
}
|
},
|
||||||
],
|
"content_scripts": [
|
||||||
"manifest_version": 2,
|
{
|
||||||
"options_ui": {
|
"matches": ["https://*/*", "http://*/*"],
|
||||||
"page": "options.html",
|
"js": ["contentscript.js"]
|
||||||
"open_in_tab": false
|
}
|
||||||
},
|
],
|
||||||
"web_accessible_resources": [
|
"manifest_version": 2,
|
||||||
"defaultlist.json"
|
"options_ui": {
|
||||||
]
|
"page": "options.html",
|
||||||
}
|
"open_in_tab": false
|
||||||
|
},
|
||||||
|
"web_accessible_resources": ["defaultlist.json"]
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user