Repository navigation
1.0.0
First tagged release of the Moonito analytics and filtering snippet.
The file in this tag is byte for byte the same script that has been served from the branch path since October 2025. Nothing about its behaviour changed. The tag exists so an install can pin a version instead of tracking a moving branch.
Pin the version
<script defer
data-public-key="YOUR_PUBLIC_KEY"
data-blocked-page="https://example.com/blocked"
src="https://cdn.jsdelivr.net/gh/moonito-net/lib@1.0.0/analytics.min.js"
integrity="sha384-8V4yTj3zJE7RRSGrVcibSdliQqhqE/kUEV26p7kxcoNG5fSefJWiS+SGxjjmR1yJ"
crossorigin="anonymous"></script>A pinned URL is served as immutable, so the browser fetches it once and reuses it for a year. The integrity hash means the browser refuses to run the file if a single byte differs from what is published here, which is what you want from a script that is allowed to redirect your visitors.
Existing installs
The unpinned path keeps working exactly as before and is not going away. There is nothing you need to change.
https://cdn.jsdelivr.net/gh/moonito-net/lib/analytics.min.js
Checksums for analytics.min.js
size 2838 bytes
sha256 6680beb20bad75b57199ff562d9f70f4819bb8dde721c24d7cd9b883fdb50484
sha384 8V4yTj3zJE7RRSGrVcibSdliQqhqE/kUEV26p7kxcoNG5fSefJWiS+SGxjjmR1yJ