Firefox block the publish of my addon for "creating DOM nodes from HTML", some one can help me?

  firefox-addon, javascript

i have submit an addon for firefox, after a longggg waiting time firefox reply to me this following message :

  1. 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 .
    geopop.js – L. 33, 34, 35, 38

Have you any idea what can I edit in order to being accept ?
I drop my github here for looking : https://github.com/erwanclx/MyLittleWeather

Source: Ask Javascript Questions

LEAVE A COMMENT