https://developer.mozilla.org/en-US/docs/Web/API/HTML_Saniti...
https://developer.mozilla.org/en-US/docs/Web/API/HTML_Saniti...
2,006 karma · joined January 16, 2011
https://hachyderm.io/@evilpie
https://developer.mozilla.org/en-US/docs/Web/API/HTML_Saniti...
https://developer.mozilla.org/en-US/docs/Web/API/HTML_Saniti...
> - We are not, and have no plans to abandon MV2 extensions. This will ensure certain types of add-ons, like ad-blockers, continue to work best in Firefox.
> - Firefox supports several ad-blockers as add-ons on Desktop and Android, including uBlock Origin.
> - We are not bundling Brave's ad-blocking system, we're testing one of their open source Rust components to improve how Firefox processes tracker lists.
https://www.reddit.com/r/firefox/comments/1sttf82/firefox_wi...
This is what the official Firefox account had to say when this came up on reddit.
new Sanitizer({})
This Sanitizer will allow everything by default, but setHTML will still block elements/attributes that can lead to XSS.You might want something like:
new Sanitizer({ replaceWithChildrenElements: ["h1"], elements: [], attributes: [] })
This will replace <h1> elements with their children (i.e. text in this case), but disallow all other elements and attributes.https://extensionworkshop.com/documentation/publish/add-on-p...
For example I helped uBlock Origin out in 2022 when they ran into this: https://github.com/uBlockOrigin/uBlock-issues/issues/235#iss...
Also one of the headings was mistranslated horribly.
In linked the article: "AVM threatens to ban the sale of Fritzbox routers". The original in German: "AVM droht Verkaufsverbot für Fritzbox-Router". Right translation is roughly: "AVM is threatened with a ban on the sale of Fritzbox routers".
It's likely you forgot to include the browser_specific_settings with a some arbitrary id in the manifest.json.
Permanently installing unsigned extensions definitely works in the Developer Edition after setting the pref in about:config.
Firefox is going to continue to have more powerful blocking features compared to what a DNS based approach like pihole can provide.
The standard web MIME for url(s) is text/uri-list: https://www.rfc-editor.org/rfc/rfc2483#section-5
Firefox also ships a "system" add-on (https://github.com/mozilla-extensions/webcompat-addon) that has interventions and user-agent overrides for many websites. See for yourself in Firefox on about:compat.