Index: gc_lang/fr/webext/content_scripts/api.js ================================================================== --- gc_lang/fr/webext/content_scripts/api.js +++ gc_lang/fr/webext/content_scripts/api.js @@ -1,11 +1,13 @@ // JavaScript "use strict"; -const oGrammalecteAPI = { +var oGrammalecteAPI = { + // Thes script might be reloaded, don’t use const or let. + // functions callable from within pages // to be sent to the content-cript via an event “GrammalecteCall” sVersion: "1.0",