Hi, i wanted to post an addon which mozilla denied but i don’t know what i need to modify in order to be accepted. Can someone help me ?
I give here the github of the addon : https://github.com/erwanclx/MyLittleWeather
They reply to me the following message :
- This add-on is creating DOM nodes from HTML strings containing potentially unsanitized data, by assigning to innerHTML, jQuery.html, or through similar means. Aside from being inefficient, this is a major security risk.
For more information, see https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Safely_inserting_external_content_into_a_page .
Here are some examples that were discovered:
geopop.js - L. 33, 34, 35, 38