I have a very simple Add-on that uses some validator I made on my site. It takes the input data and sends it to do my API which response with validation.
The only problem is the XMLrequest call as it doesn’t take place.
I have the following manifest:
{
“manifest_version”: 2,
“name”: “ContextValidator”,
“version”: “0.5.4”,
“description”: “Allowing the use of context validator in an add-on”,
“icons”: {
“48”: “icons/icon.png”
},
“content_scripts”: [
{
“matches”: [“<all_urls>”],
“js”: [“content_script.js”]
}
],
“permissions”: [
{
“cross-domain-content”: [“https://myapisitehere.com”]
}
]
}
But I get an error when trying to self-sign it:
- Permissions should be string
Could somebody enlighten me, how to get these permissions?