I’ve got an issue without loading my add-on temporarily into Firefox, the error I get is:
Reading manifest: Unexpected properties: background, permissions
Am I missing something or aren’t these standard properties included in the manifest.json?
This is a personal project I’m writing as a student, the background script will simply log the URLs of the websites visited by the user.
Here’s my manifest.json for reference (with some edited properties):
{
“manifest_version”: 2,
“name”: “nameofextension”,
“version”: “1.0”,
“description”: “does something”,
“icons”: {
“48”: “icons/icon.png”
},
“homepage_url”: “example.com/url”,
“permissions”: [
“webRequest”, “<all_urls>”
],
“background”: {
“scripts”: [“background.js”]
},
“theme”: {
“colors”: {
“frame”: “#313e61”,
“frame_inactive”: “#774a62”,
“tab_text”: “#81abbc”,
“toolbar”: “#774a62”,
“toolbar_text”: “#fbd2c9”
}
}
}