The Firefox AddOns Store detects the use of innerHTML and marks it as a possible security vulnerability. Even though I only use it with controlled inputs, to change the icons, I should replace the code with something like document.createElement. At least to get rid of the warning.
The Firefox AddOns Store detects the use of
innerHTML
and marks it as a possible security vulnerability. Even though I only use it with controlled inputs, to change the icons, I should replace the code with something likedocument.createElement
. At least to get rid of the warning.