1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-25 17:42:37 +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
2020-08-08 07:30:04 +02:00
_locales Preparation i18n for internal statistics (#74) 2020-08-08 07:09:05 +02:00
core Integrated internal statistics (#74) 2020-08-08 07:30:04 +02:00
icons Grey icon theme updated (#52) 2020-07-14 18:45:47 +02:00
modules Implemented statistics mechanism (#74) 2020-08-08 07:27:52 +02:00
pages Integrated internal statistics (#74) 2020-08-08 07:30:04 +02:00
resources Fixed: Filename of Bootstrap JS v4.5.0 (#76) 2020-08-06 21:42:36 +02:00
screenshots Updated screenshots 2020-08-03 08:49:07 +02:00
ISSUE_TEMPLATE.md Updated ISSUE_TEMPLATE.md 2020-07-22 07:25:14 +02:00
LICENSE.txt Initial commit 2020-02-27 13:45:29 +01:00
manifest.json v2.2.18 2020-08-02 10:51:55 +02:00
PULL_REQUEST_TEMPLATE.md Updated PR template 2020-06-15 07:07:55 +02:00
README.md Updated README.md 2020-08-02 10:38:45 +02:00

LocalCDN

Translate CDNs Frameworks

A web browser extension (and a fork of Decentraleyes) 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 our Wiki pages. You can also download the extension directly from Mozilla and just try it.

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 10 MB in size. Only if LocalCDN cannot find a local resource (and the option is enabled), a request will be blocked.

An adblocker (uBlock Origin or uMatrix) 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.

Differences between LocalCDN and Decentraleyes

LocalCDN based on Decentraleyes. It includes more frameworks and more CDNs:

  • Supports cloud storage by browsers sync feature (Firefox Sync or own Sync-Server) if enabled
  • Removed integrity checks of embedded script and style elements (Firefox only)
  • Font Awesome
  • jQuery up to 3.5.1
  • Bootstrap CSS (Delivered by StackPath, NetDNA and MaxCDN)
  • Bootstrap JavaScript (Delivered by StackPath, NetDNA and MaxCDN)
  • AngularJS, AngularJS-Animate, AngularJS-Sanitize, AngularJS-Cookies and AngularJS-Touch
  • Prepared rules for uBlock/uMatrix

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.

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

The Replacement of Libraries

Advantages of LocalCDN:

👍 more frameworks/libraries (> 100 🎉 🎉 🎉)

👍 smaller size than other extensions

👍 remove crossorigin and integrity attributes of script and stylesheet tags to increase replacements (Firefox only)

👍 doesn't matter which version a website requested

👍 supports cloud storage if enabled

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, it isn't possible to use our framework because the website sets up a strong "Same Origin Policy" (SOP). Please read Broken JavaScript or CSS on some websites before opening an issue.

On behalf of everyone: Thank you!

Screenshots

Light

Light Theme

Dark

Dark Theme

Rule generator for uBlock/uMatrix (after an update)

Rule generator after an update

Rule generator for uBlock/uMatrix (settings page)

Rule generator on settings page

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! Every way to donate can be found inside the extension (Just click on the heart). At the moment donations are possible with SEPA bank transfer, Bitcoin and Ether.

License

MPL-2.0.