1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-21 15:43:55 +01:00
Estensione per il browser che emula le CDN per migliorare la tua privacy online. Intercetta il traffico, trova le risorse supportate localmente e le utilizza nel browser automaticamente, quindi non è necessaria alcuna configurazione preliminare. https://chrome.google.com/webstore/detail/localcdn/njdfdhgcmkocbgbhcioffdbicglldapd
Go to file
2022-05-28 05:48:29 +02:00
_locales Translated using Weblate (Croatian) 2022-05-25 18:17:00 +02:00
audit Google Material Icons restructured 2022-05-27 06:08:12 +02:00
core Plugins excluded (#999) 2022-05-23 06:15:27 +02:00
icons UTF-8 icons replaced with SVG 2021-08-15 07:39:00 +02:00
modules angularjs-slider v7.0.1 -> v7.1.0 (#1007) 2022-05-27 06:53:06 +02:00
pages angularjs-slider v7.0.1 -> v7.1.0 (#1007) 2022-05-27 06:53:06 +02:00
resources Google Material Icons: Fixed typo 2022-05-28 05:48:29 +02:00
screenshots Screenshots updated 2021-08-14 08:58:32 +02:00
.csslintrc Just code style (CSS) 2021-02-17 06:59:56 +01:00
.eslintignore Updated: Internal module "Color Picker" v2.1.4 -> v2.2.0 2021-04-10 07:04:41 +02:00
.eslintrc Updated: .eslintrc 2021-11-28 09:29:12 +01:00
.gitignore Just code style (JS) 2021-02-17 07:01:08 +01:00
.stylelintrc Just code style (CSS) 2021-02-17 06:59:56 +01:00
CDN.txt Duplicate entry removed (#816) 2021-12-22 07:49:35 +01:00
CONTRIBUTING.md Improve contribution guidance 2021-04-05 22:14:52 -04:00
ISSUE_TEMPLATE.md Updated ISSUE_TEMPLATE.md 2021-01-30 06:46:06 +01:00
LICENSE.txt Initial commit 2020-02-27 13:45:29 +01:00
manifest.json v2.6.28 2022-04-30 08:26:03 +02:00
PULL_REQUEST_TEMPLATE.md Improve contribution guidance 2021-04-05 22:14:52 -04:00
README.md Plugins excluded (#999) 2022-05-23 06:15:27 +02:00
THIRD_PARTY.txt angularjs-slider v7.0.1 -> v7.1.0 (#1007) 2022-05-27 06:53:06 +02:00

LocalCDN

Translate CDNs Frameworks Firefox Add-on Chrome Add-on

LocalCDN is a fork of Decentraleyes and a web browser extension that emulates Content Delivery Networks to improve your online privacy. It intercepts traffic, finds supported resources locally, and injects them into the environment. All of this happens automatically, so no prior configuration is required. Feel free to use the following testing utility to find out if you are properly protected. For more information, please read the tutorial or the Wiki. You can also download the extension directly from Mozilla and just try it.

What are the advantages?

  • Supports cloud storage by browsers sync feature (Firefox Sync or own Sync-Server) if enabled
  • Removes integrity and crossorigin tags from embedded script and style elements to replace even more frameworks
  • Font Awesome
  • Google Material Icons
  • jQuery up to 3.5.1
  • Bootstrap CSS
  • Bootstrap JavaScript
  • AngularJS, AngularJS-Animate, AngularJS-Sanitize, AngularJS-Cookies and AngularJS-Touch
  • React, Vue.js, Chart.js and many other frameworks/libraries
  • MathJax (minimal)
  • TinyMCE (without plugins)
  • Internal statistics about CDNs and frameworks (day, week, month, year)
  • Export/Import your config (day, week, month, year)
  • Prepared rules for uBlock Origin, uMatrix, AdGuard and NoScript

Note: LocalCDN is no silver bullet, but it does prevent a lot of websites from making you send these kinds of requests. Ultimately, you can make LocalCDN block requests for any missing CDN resources, too.

How does it work?

LocalCDN uses redirection for certain requests. There is a mapping file that lists the source (all CDNs and the path to the frameworks) and a resource file that defines the destination.

Currently only JavaScript and CSS files are redirected. However, some CSS files internally refer to other files, e.g. Font Awesome. All requests are redirected to a local file, e.g. jQuery. This is the reason why the extension is currently 14 MB in size. Only if LocalCDN cannot find a local resource (and the option is enabled), a request will be blocked.

An adblocker (e.g. uBlock Origin, uMatrix or AdGuard) decides which requests are allowed. Only if your adblocker allows a request, it will be intercepted by LocalCDN. LocalCDN catches the request after an adblocker and not before.

What's the different of LocalCDN in comparison to other CDN emulators?

LocalCDN

LocalCDN

LocalCDN with activated HTML filter (optional)

LocalCDN with activated HTML filter (optional)

Other CDN emulators

Other CDN emulators

We need you!

We Need You!

The whole Internet is full of different frameworks and CDNs that negatively affect your privacy. If you find a website that embeds another unsupported version of a framework, please report that website.

⚠️ Important ⚠️

In some cases, LocalCDN is not allowed to replace requested resources because the website sets up a strong Same Origin Policy (SOP). Please read Broken JavaScript or CSS on some websites before opening an issue. Here you can also find an online tool to test a website. This test covers the most common causes and provides solutions.

On behalf of everyone: Thank you!

Screenshots

Light

Light Theme

Dark

Dark Theme

Rule generator for uBlock Origin, uMatrix and AdGuard (after an update)

Rule generator after an update

Settings

Settings (Basic)

Settings (Advanced)

Settings (Other)

Settings (Info)

Internal statistics

Internal statistics Internal statistics

Contributing Code

Suggestions in the form of Issues, and contributions in the form of Merge Requests, are highly welcome.

Installation

Running the Code as temporary extension

Please read this guide to run the extension from source.

Important: All tagged commits are signed with GPG. It's likely best to ignore unsigned commits, unless you really know what you're doing. Please send an email if you have any questions or security concerns.

Contact

Just open an issue with your question or write an email (PGP possible!).

Submitting Translations

The language you want is not completely translated or you are a language talent? Please help us by translating this add-on on Weblate.

Donations

LocalCDN is free and open-source. If you like LocalCDN you can support continued development by making a donation. Any help would be greatly appreciated!

  • IBAN: DE22 5003 1000 1069 4660 16 (BIC: TRODDEF1XXX)
  • Bitcoin: 1C4GRNyuUFkp9dMDjUkV4TwDwdfxdgLzde
  • Ether: 0x2df49c1186f8b615c2059f29c3ed7f9f86d49552
  • Monero: 46j26ggSZNT9rN7VeFYXp2PsKEMyJSSYneBVKXY4xeemdfZfCpNg6tQEXQZpWiTTuGX3SbnDPwuh3167cCoYSrqN72H9jPk

License

MPL-2.0.

External libraries