Hakarasenai — Google Analytics Opt-out von omikuji
Verhindert die Messung durch Google Analytics: meldet GA einen Opt-out und blockiert die Daten, die trotzdem gesendet würden.
Verfügbar für Firefox für Android™Verfügbar für Firefox für Android™
Scannen Sie den QR-Code, um diese Erweiterung in Firefox für Android zu öffnen
Metadaten zur Erweiterung
Screenshots
Über diese Erweiterung
Google publishes an official Google Analytics opt-out add-on, and there is a Firefox build of it. The trouble is how it works: it injects a script element into the page, and Firefox applies the page's own Content Security Policy to content scripts. On any site with a strict CSP the injection is blocked and the opt-out quietly does nothing — and nothing tells you it failed.
Hakarasenai uses the same official opt-out hook, but puts it where no CSP can reach it, and adds network blocking behind it as a second layer.
What it does
What it does not block
The Tag Manager loader (gtag.js, gtm.js) and the scripts served by google-analytics.com are left alone. Opting out means letting the code load and not letting it report; taking out the loader would break whatever else a site drives through Tag Manager. No page resource is blocked, so this practically never breaks a site.
What it cannot do
Server-side tagging that collects on a site's own domain cannot be told apart from ordinary traffic to that site, so the blocking layer cannot catch it — the opt-out flag still applies there. Analytics products other than Google Analytics are out of scope.
Privacy
It collects nothing, sends nothing anywhere, and makes no network requests of its own. The only stored value is the list of hostnames you excluded, and it never leaves the device.
No options page, no filter subscriptions, no counters, no Pro version. MIT licensed, source at https://github.com/omikuji/hakarasenai
Hakarasenai uses the same official opt-out hook, but puts it where no CSP can reach it, and adds network blocking behind it as a second layer.
What it does
- Tells the Google Analytics code on the page that you have opted out. The flag is the one Google Analytics reads itself (window._gaUserPrefs.ioo), set from a content script running in the page's own world at document start, so there is nothing in the DOM for a CSP to block.
- Blocks the measurement hits. Five static declarativeNetRequest rules cover the /collect and /batch endpoints on google-analytics.com and analytics.google.com, including the regional hosts, plus stats.g.doubleclick.net.
- Lets you exclude one site at a time from the toolbar button, if you actually want to be measured — verifying Analytics on your own site, for instance. Exclusions cover subdomains and turn off both layers.
What it does not block
The Tag Manager loader (gtag.js, gtm.js) and the scripts served by google-analytics.com are left alone. Opting out means letting the code load and not letting it report; taking out the loader would break whatever else a site drives through Tag Manager. No page resource is blocked, so this practically never breaks a site.
What it cannot do
Server-side tagging that collects on a site's own domain cannot be told apart from ordinary traffic to that site, so the blocking layer cannot catch it — the opt-out flag still applies there. Analytics products other than Google Analytics are out of scope.
Privacy
It collects nothing, sends nothing anywhere, and makes no network requests of its own. The only stored value is the list of hostnames you excluded, and it never leaves the device.
No options page, no filter subscriptions, no counters, no Pro version. MIT licensed, source at https://github.com/omikuji/hakarasenai
Bewertet mit 0 von 0 Bewertern
Berechtigungen und Daten
Benötigte Berechtigungen:
- Inhalte auf jeder Seite blockieren
Optionale Berechtigungen:
- Auf Ihre Daten für diverse Websites zugreifen
Datenerfassung:
- Der Entwickler sagt, dass diese Erweiterung keine Datenerhebung benötigt.
Weitere Informationen
- Add-on-Links
- Version
- 1.2.0
- Größe
- 44,35 KB
- Zuletzt aktualisiert
- vor 6 Tagen (4. Sep. 2026)
- Verwandte Kategorien
- Lizenz
- MIT-Lizenz
- Datenschutzrichtlinie
- Lesen Sie die Datenschutzrichtlinie für dieses Add-on
- Versionsgeschichte
- Schlagwörter
- Zur Sammlung hinzufügen
Der Entwickler dieser Erweiterung bittet Sie, dass Sie die Entwicklung unterstützen, indem Sie einen kleinen Betrag spenden.