Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Addon cannot be installed because it seems to be corrupt

  • 1 отговор
  • 0 имат този проблем
  • Последен отговор от harjoat

more options

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)

more options

Nvm I have signed the addon and it is working as it should now :)

Полезно?

Задаване на въпрос

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.