I’m trying to debug an extension I’m trying to port from Chrome to Firefox. AFAIK most of that should be done but right now when I try to load it into the temporary add-ons, it tells me:
“There was an error during installation: Extension is invalid
Reading manifest: Error processing browser_specific_settings: Unexpected properties: author, background, content_scripts, description, icons, manifest_version, name, permissions, version, web_accessible_resources”
I went through https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json and I thought I was sure everything was right, but apparently not. Heres the code if anybody wants to try it.
{ “browser_specific_settings”: {
“gecko”: {
“id”: "jepperm@gmail.com",
“strict_min_version”: “42.0”,
“strict_max_version”: “*”
},
“manifest_version”: 2,
“name”: “Crunchyroll HTML5”,
“version”: “0.14.4”,
“description”: “A fully fledged HTML5 player for Crunchyroll.”,
“author”: “Crunchyroll Community”,
“icons”: {
“16”: “assets/icon16.png”,
“32”: “assets/icon32.png”,
“48”: “assets/icon48.png”,
“64”: “assets/icon64.png”,
“96”: “assets/icon96.png”,
“128”: “assets/icon128.png”
},
“background”: {
“scripts”: [“vendor/browser-polyfill.min.js”, “background.js”]
},
“content_scripts”: [
{
“matches”: [“www.crunchyroll.com/"],
“js”: [“vendor/browser-polyfill.min.js”, “patch.js”, “content-script.js”],
“run_at”: “document_start”
},
{
“all_frames”: true,
“matches”: [
"://www.crunchyroll.com/affiliate_iframeplayer*”
],
“js”: [
“vendor/browser-polyfill.min.js”,
“patch-worker.firefox.js”,
“content-script.js”
]
}
],
“web_accessible_resources”: [
“vendor/JavascriptSubtitlesOctopus/",
"fonts/”
],
“permissions”: [
“://www.crunchyroll.com/”,
“://.vrv.co/",
"://.dlvr1.net/”,
“://.akamaized.net/*”,
“storage”
]
}}