LocalCDN is a web browser extension that emulates content delivery networks to improve online privacy. It intercepts allowed requests, serves matching JavaScript and CSS locally, and injects them automatically.
Overview
LocalCDN is a fork of Decentraleyes and works as a browser extension that emulates content delivery networks. It intercepts traffic, finds supported resources locally, and injects them into the page environment without requiring prior configuration.
The extension bundles many common frameworks and libraries, including jQuery, Bootstrap, Font Awesome, Google Material Icons, React, Vue.js, Chart.js, MathJax, and TinyMCE, and maps numerous public CDN hostnames to local copies. It redirects JavaScript and CSS requests after an ad blocker allows them, and can block missing resources when that option is enabled.
Optional features include browser sync for settings, removal of integrity and crossorigin attributes to replace more embedded assets, export and import of configuration, internal CDN usage statistics, and prepared filter rules for uBlock Origin, uMatrix, AdGuard, and NoScript. Enterprise policies can lock settings in Firefox.
An optional HTML filter can replace additional resources compared with other CDN emulators. Strong same-origin policies on some sites may prevent replacement; documentation describes tests and workarounds.
Key features
- Local CDN resource redirection
- Bundled JavaScript and CSS libraries
- Works after ad blocker allowance
- Config export and import
- Firefox Sync support for settings
- Optional HTML filter
- Rules for popular ad blockers
- CDN usage statistics
Use cases
- Reduce third-party CDN tracking
- Load common site libraries locally
- Privacy-focused browsing with ad blockers
- Firefox enterprise policy deployment