Hakarasenai — Google Analytics Opt-out di omikuji
Impedisce a Google Analytics di misurarti: gli comunica il tuo opt-out e blocca i dati che proverebbe comunque a inviare.
Disponibile in Firefox per AndroidDisponibile in Firefox per Android
Scansiona il codice QR per aprire questa estensione in Firefox per Android
Metadati estensione
Screenshot
Informazioni sull’estensione
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
Voto 0 da 0 revisori
Permessi e dati
Permessi obbligatori:
- Bloccare contenuti in qualsiasi pagina
Permessi facoltativi:
- Accedere ai dati di tutti i siti web
Raccolta dati:
- Lo sviluppatore dichiara che questa estensione non richiede la raccolta di dati.
Ulteriori informazioni
- Link componente aggiuntivo
- Versione
- 1.2.0
- Dimensione
- 44,35 kB
- Ultimo aggiornamento
- 6 giorni fa (4 set 2026)
- Categorie correlate
- Licenza
- Licenza MIT
- Informativa sulla privacy
- Consulta l’informativa sulla privacy per questo componente aggiuntivo
- Cronologia versioni
- Etichette
- Aggiungi alla raccolta
Sostieni il mantenimento e l’aggiornamento di questa estensione con una piccola donazione allo sviluppatore.