> ## Content Index
> Fetch the complete content index at: https://extensiontools.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# LocalCDN: local libraries and safe Firefox site exceptions
- URL: https://extensiontools.org/localcdn/
- Published: 2026-11-27T16:21:34.000Z
- Updated: 2026-11-27T16:21:34.000Z
- Description: Replace supported CDN libraries locally, understand the shipped defaults and restore a broken site with a narrow exception.
- Author: Rasmus Senlogan
- Tags: Privacy & site controls, #extension, firefox

Use LocalCDN in Firefox when you want supported third-party JavaScript and CSS libraries served from the extension instead of a remote CDN. I'd add it only if reducing those connections is worth managing an occasional site exception. The current project no longer supports Chromium browsers, and it won't turn an entire website into an offline copy.

## Choose LocalCDN by nobody for Firefox

Start with [LocalCDN by nobody on Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/?ref=extensiontools.org). It's free and open source under MPL 2.0\. The [2.6.87 package requirements](https://codeberg.org/api/v1/repos/nobody/LocalCDN/raw/manifest.json?ref=v2.6.87) specify Firefox 140 or later on desktop and Firefox 142 or later on Android; use a current browser release rather than the older minimums still mentioned in parts of the project's documentation.

The [maintainer's current browser-support notice](https://codeberg.org/nobody/LocalCDN?ref=extensiontools.org) says important Chromium APIs were removed with Manifest V3 and there will be no new Chrome Web Store version. An old Chrome listing or tutorial isn't a supported installation route. The Opera add-on named **Local CDN** by james-fray and the GitHub project for running a local asset server are different products.

Read the permissions before accepting installation. LocalCDN 2.6.87 requests access across websites, network requests and navigation, browser privacy settings and storage. Those capabilities let it intercept eligible CDN requests and change related behavior. Its manifest declares no data collection, but that declaration doesn't narrow what the permissions allow.

## Check which requests can become local

LocalCDN matches a supported CDN address and library path to a bundled file, then redirects that request into the extension. Its collection includes libraries such as jQuery, Bootstrap and Font Awesome. A matched local file avoids that particular remote library request; the page can still contact its own server, analytics services and unsupported CDNs.

Replacement also doesn't promise the exact bytes of the version requested by the page. The [developer's compatibility explanation](https://codeberg.org/nobody/LocalCDN/wiki?ref=extensiontools.org#7-a-website-looks-weird-or-cannot-be-used-if-i-deactivate-localcdn-everything-works-what-is-the-problem) describes substituting an included library version when keeping every historical version would be impractical. That tradeoff can expose a site's compatibility problem.

Keep [uBlock Origin's content filtering](https://extensiontools.org/ublock-origin/) in place. A content blocker decides whether a request is allowed before LocalCDN can replace it. LocalCDN's generated uBlock rules are relevant to medium or hard blocking modes; they're unnecessary with uBlock Origin's default or Easy Mode settings. Don't import rules simply because the generator is there.

Firefox's [state partitioning separates storage by the top-level site](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/State%5FPartitioning?ref=extensiontools.org). LocalCDN addresses a different part of the request: whether a supported library needs a connection to its CDN at all. Neither mechanism makes a signed-in account anonymous or proves that a website has stopped tracking you.

## Read the defaults before changing them

These are the [shipped defaults in LocalCDN 2.6.87](https://codeberg.org/api/v1/repos/nobody/LocalCDN/raw/core/constants.js?ref=v2.6.87). An existing profile can retain different saved choices.

| Setting                                         | Shipped state | What it changes                                                                                                                       |
| ----------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| Advanced > Block requests for missing resources | Off           | Eligible missing libraries can fall back to a remote request. Turning it on can break pages.                                          |
| Advanced > Block Google Fonts                   | On            | Blocks ordinary remote Google Fonts with exceptions, including Google sites. Google Material Icons have separate replacement support. |
| Basic > Strip metadata from allowed requests    | On            | Removes Cookie, Origin and Referer headers from eligible CDN requests, not every request made by the browser.                         |
| Advanced > Invert HTML filter                   | On            | Applies the HTML filter except on domains in its exclusion list. With it off, the list instead selects domains to filter.             |
| Logging and internal statistics                 | Off           | Optional diagnostic records and local counts. A counter isn't a speed or privacy score.                                               |
| Other > Storage type                            | Local         | Keeps settings in local extension storage. Optional Sync is marked beta.                                                              |

I'd leave **Block requests for missing resources** off initially. You still get supported replacements, while an unknown library has a fallback. Switch it on only if you're prepared to identify and allow affected sites; it doesn't make unsupported libraries available locally.

Google Fonts needs its own decision. LocalCDN doesn't bundle the whole font catalog. Blocking fonts can change typography or leave a site's special symbols missing. For a necessary site, use its Google Fonts exception rather than turn off unrelated protection. The [current Google-site exception policy](https://codeberg.org/nobody/LocalCDN/wiki?ref=extensiontools.org#26-i-ve-a-problem-with-google-services-e-g-google-maps-or-youtube) already allows Google Fonts on recognized Google sites, so an old Google Maps complaint isn't a universal diagnosis.

## Restore one site with a domain exception

Save unfinished work before reloading. If a payment or form submission stalled, check its status before submitting again. If a page becomes usable only when LocalCDN is disabled for that site, keep the exception narrow while you investigate.

1. Open LocalCDN's toolbar popup and use the settings control to open its options.
2. On **Basic**, find **Deactivate LocalCDN for these domains:**.
3. Type the affected hostname on its own line, for example `shop.example.com`. This is a domain entry: omit `https://`, paths and query fields. Avoid a broad wildcard when a single hostname is enough.
4. Reload the affected page. After checking any payment or form status, repeat the failed action once if it is still needed. The site should use its normal remote resources when LocalCDN was the interfering layer.
5. To remove the exception, delete its line, then reload and check the site again.

The [site-exception field](https://www.localcdn.org/tutorial?ref=extensiontools.org) accepts one domain per line. Changes made by typing are stored as you edit; there's no separate Save button for this field. You can also use the popup's switch beside the current site's domain to disable LocalCDN there.

Domain matching also checks parent domains. An entry for `example.com` covers its subdomains, while `shop.example.com` is narrower. If removing a site's line doesn't restore LocalCDN there, check for a parent-domain or wildcard entry that still includes it. This follows the [extension's domain-matching rules](https://codeberg.org/api/v1/repos/nobody/LocalCDN/raw/modules/internal/helpers.js?ref=v2.6.87).

![LocalCDN domain-exception field with an empty box and valid domain examples below it](https://storage.ghost.io/c/9f/43/9f432727-a49c-4ae8-b22e-86a2d6607d28/content/images/2026/11/localcdn-inline-expansion-corrected.webp)

Enter a domain in the empty box. The examples below distinguish domain entries from full web addresses.

If the exception makes no difference, remove it and look at other blockers, the browser or the site itself. A page merely loading faster after a reload doesn't establish which extension caused the original failure. On a managed Firefox installation, administrator policies can lock these settings and popup switches.

## Separate missing files, fonts and HTML filtering

Once the site exception implicates LocalCDN, make one diagnostic change at a time. Record the previous choice so you can restore it when the change doesn't help. After each change, reload the affected page, check that the control or domain list shows your intended choice, and compare the original symptom. If it hasn't improved, restore the previous choice, reload again and check that the previous choice is back in place.

**A page loses scripts or styling after you enabled strict blocking.** Turn **Advanced > Block requests for missing resources** off and reload. Recovery points toward a resource the extension couldn't supply. If you want to keep strict blocking elsewhere, restore it and keep a site exception for the affected domain.

**Text or symbols disappear.** Check **Block Google Fonts** and the domain list beneath it, labeled **These domains are allowed to load Google Fonts.** Add the affected site there and reload. Google Material Icons support doesn't mean arbitrary Google Fonts will be replaced. Remove the exception if it doesn't explain the symptom.

**Characters become garbled or a replacement fails.** The HTML filter removes `integrity` and `crossorigin` attributes from tags for resources it can replace. This relaxes those checks, and the filter's UTF-8 output can cause character-encoding problems on other pages. The [HTML-filter explanation](https://codeberg.org/nobody/LocalCDN/wiki?ref=extensiontools.org#7-2-crossorigin-integrity-attributes-in-html-code) is a reason to adjust its scope carefully, rather than enable it as a universal fix.

In the popup, **Filter HTML source code** controls filtering for the current site. In Advanced settings, read the list heading before editing: **Do not apply HTML filter to these domains:** is an exclusion list; **Apply HTML filter for these domains:** selects sites to filter. Changing **Invert HTML filter** reverses that meaning across sites. Don't flip it casually while diagnosing one page.

A site's Content Security Policy or Same Origin Policy can still prevent a replacement. Forcing HTML filtering won't solve that restriction. I'd keep a site exception rather than disable browser-wide security or service-worker features to make one page work.

**An allowed CDN request fails even without strict missing-resource blocking.** Metadata stripping can affect services that expect their Cookie, Origin or Referer headers. Prefer a site exception first; turning **Basic > Strip metadata from allowed requests** off changes behavior for eligible CDN requests across sites.

## Check a replacement and keep diagnostic data private

For a functional check in your Firefox setup, open the [LocalCDN testing utility](https://www.localcdn.org/test?ref=extensiontools.org) and choose a library case. The utility warns that disabling LocalCDN there establishes connections to the tested CDNs. Inspect the popup's replacement details alongside the case's result; success on that page doesn't establish support for every library or every site.

For a repeatable failure, open **Advanced > Enable logging**, reload the affected page and use the log icon in the popup. Entries can identify the requested resource and whether it was replaced or blocked. Logging is off by default; the [2.6.87 log implementation](https://codeberg.org/api/v1/repos/nobody/LocalCDN/raw/modules/internal/log.js?ref=v2.6.87) retains the latest 1,000 entries in memory. Closing the browser or disabling logging clears the log. Turn it off when you've captured what you need, and redact private page addresses before reporting an issue.

Keep settings backups private too: domain exceptions can reveal the sites you use. The [settings import](https://codeberg.org/api/v1/repos/nobody/LocalCDN/raw/core/storage-manager.js?ref=v2.6.87) can change existing choices and supplies defaults for missing settings. Before using **Restore from file**, open **Other** and select **Back up to file**. Check that the downloaded file opens as readable JSON and contains the settings you meant to preserve. An export comes from the active storage area; it isn't a complete browser-profile backup. After importing, reopen the options and check the relevant switches and domain lists. If the choices aren't what you intended, restore the known previous choices and check them again before continuing.

I'd keep **Storage type > Local** unless cross-device settings are necessary. Sync is marked beta, and local statistics and counters don't become a synchronized browsing record. The maintainer reports no external connections by the extension itself; opening its website and testing tools, browser updates and optional Firefox Sync are separate activities.

## Choose one CDN replacement layer

LocalCDN began as a fork of Decentraleyes, which also serves bundled CDN resources. I'd choose one of these overlapping tools so a failed replacement has fewer possible causes. Broader library coverage alone doesn't tell you how many requests will match on the sites you visit.

Keep LocalCDN if its replacements reduce connections you care about and its exceptions remain manageable. If it mostly adds maintenance to your browsing, keep your content blocker and browser protections, then choose any remaining control through the [privacy extension hub](https://extensiontools.org/tag/privacy/). A large replacement count is a record of activity, not a measured gain in privacy or page speed.