Extensions don't work on mozilla.org?
None of my Firefox extensions work on mozilla.org. I checked their whitelists and mozilla.org was not in them. There's no message saying that "this extension does not work here". So, for example, if I right click on an element and click uBlock's "Block element", nothing happens whatsoever. Why is this necessary, and is there a setting to change this?
Examples of extensions that don't work on mozilla.org: Greasemonkey, uBlock, Vimium
Solution choisie
Mozilla websites have CSP policy rules that prohibit injecting JavaScript and CSS files in their pages as a security (XSS;cross-site-scripting) measure. This prevents extensions that want to modify the web page from working properly. This is a limitation of WebExtensions in Firefox and most affected extensions state this on their Addons page.
Lire cette réponse dans son contexte 👍 0Toutes les réponses (1)
Solution choisie
Mozilla websites have CSP policy rules that prohibit injecting JavaScript and CSS files in their pages as a security (XSS;cross-site-scripting) measure. This prevents extensions that want to modify the web page from working properly. This is a limitation of WebExtensions in Firefox and most affected extensions state this on their Addons page.