scripted innerHTML does not allow me to upload to the store because I use it. yes, for security purposes, but I’m changing my own open source site completely with innerhtml. this should be so, because this is the logic of add ons. however, thunderbird does not allow uploading to the store
It’s “only” a warning, so won’t block you from releasing your addon.
The error in the first screenshot on the other hand will block you , but that should be easy to fix.
In any case, you should be using document.createElement("div");
to build your DOM (if it’s simple).
Alternatively, using a library that can sanitize DOM is also allowed.
All this and much more is mentioned in the docs:
First of all, thank you for your support. I had a lot of trouble while making this plugin because of innerhtml, I thought for a moment that the problem was due to innerhtml. I also looked at the method you mentioned and did some research on the internet. The problem was caused by adding a GUID to the manifest file, I just added this line of code:
"applications": {
"gecko": {
"id": "newunec@example.com"
}
}
The problem is fixed. Thank you again for your time.
@Alfloyem, I’d strongly encourage you to use a different add-on ID. I assume that you have no direct affiliation with example.com, so the implied association with that website is confusing.
The add-on ID does not have to be a valid email address, but if you use something that looks like an email address people will expect it to be one. To avoid this and to still have a meaningful name, you could do something like extension-name@developer-name
. For example, newunec@alfolyem
.