Many a website refers to specific centralized remote resources. I.e. resources not hosted from the domain (or subdomains) of said website. Examples of this are Google fonts served from Google servers (mostly gstatic.com
). And Bootstrap-based websites (bootstrapcdn.com
) seem to be further offenders in that regard.
Are there any user scripts (TamperMonkey and friends) or extensions that allow me to substitute such remote fonts with locally cached/stored ones or even redirect to a proxy that I set up? The browsers I use mostly are Chromium-based browsers and the most recent Firefox versions.
The reason I want this is because of the privacy implications of using those remote resources from centralized services and because many websites look bad if one simply blocks remote fonts, for example. And yes, I realize that gstatic.com
is cookie-less, but that doesn't mean that they don't get all kinds of fascinating and "useful" (for them, not me) metadata I'd rather not want them to have.
uBlock Origin and uMatrix allow me to assume control over what I want to block or allow, but they don't provide a remedy for remote fonts (or scripts).