Addon cannot be installed because it seems to be corrupt
I've made an extention which works fine when I test it using the temp mode on firefox. When I attempt to install from file however I'm told it could not be installed as it appears to be corrupt. Below are the package.json and the manifest.json:
package.json
{
"name": "ext", "version": "1.0.0", "description": "", "main": "contentScript.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC"
}
manifest.json
{
"manifest_version": 2, "name": "SKUORG", "version": "1.0", "description": "Organises SKUs on WooPage", "permissions": [ "activeTab", "webNavigation", "<all_urls>" ], "content_scripts": [ { "matches": ["<all_urls>"], "js": ["contentScript.js"] } ]
}
I have tried on two devices / installs of firefox and have followed the steps I could find on this page : https://support.mozilla.org/en-US/kb/unable-install-add-ons-extensions-or-themes#w_corrupt-extension-files
If you have any suggestions please let me know.
I've made an extention which works fine when I test it using the temp mode on firefox. When I attempt to install from file however I'm told it could not be installed as it appears to be corrupt. Below are the package.json and the manifest.json:
package.json
{
"name": "ext",
"version": "1.0.0",
"description": "",
"main": "contentScript.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
manifest.json
{
"manifest_version": 2,
"name": "SKUORG",
"version": "1.0",
"description": "Organises SKUs on WooPage",
"permissions": [
"activeTab",
"webNavigation",
"<all_urls>"
],
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["contentScript.js"]
}
]
}
I have tried on two devices / installs of firefox and have followed the steps I could find on this page : https://support.mozilla.org/en-US/kb/unable-install-add-ons-extensions-or-themes#w_corrupt-extension-files
If you have any suggestions please let me know.
모든 댓글 (1)
Nvm I have signed the addon and it is working as it should now :)