Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About blocking remote fonts #298

Closed
ghost opened this issue Feb 27, 2017 · 6 comments
Closed

About blocking remote fonts #298

ghost opened this issue Feb 27, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Feb 27, 2017

I do understand the option to block remote fonts. If enabled remote fonts aren't downloaded.

What is unclear in my mind is this option compared to Firefox's font settings available in about:config,

// enable/disable websites downloading their own fonts - (0=block, 1=allow)
user_pref("browser.display.use_document_fonts", 0); // default=1
// enable icon fonts (gylphs) - (false=block, true=allow)
user_pref("gfx.downloadable_fonts.enabled", true); // default=true

I'm comparing because Firefox as we see has the option to block remote fonts with the exception of icon fonts.

If I use UBOo' remote fonts blocking then all remote fonts are blocked, that is aren't downloaded, icon fonts as well.
So my question is : does UBO's remote font blocking perform the same as Firefox's browser.display.use_document_fonts set to 0?
I'm assuming Firefox's remote font blocking blocks their download, not only their display: should I be wrong then there would be no possible comparison.

Thanks.

@Atavic
Copy link

Atavic commented Feb 27, 2017

Firefox Prefs say use document fonts. That's really generic and allows scripts to run in the background even if set to false. uBlock, by properly blocking the calls related to remote fonts, is far better privacy-wise.

@ghost
Copy link
Author

ghost commented Feb 27, 2017

The whole point is there indeed : does browser.display.use_document_fonts in Firefox, when set to 0, mean that remote fonts are not downloaded?

document_fonts is a generic formulation but it can also mean that not using them is implicitly not downloading them ...

The above explanation of the setting, "// enable/disable websites downloading their own fonts - (0=block, 1=allow)" is from me, from a long time ago when I assumed then that blocking remote fonts on Firefox meant not downloading them ...but i'm not so sure anymore.

There wouldn't be any problematic in my mind if it weren't that blocking remote fonts with UBO includes icon fonts. I don't care about remote fonts and I block them in Firefox as i'd block them with UBO, but I do care for icon fonts : many pages use them ...

Mozilla's definition of the setting is (now that I've searched for it) :

browser.display.use_document_fonts:
0: Never use document's fonts
1: Allow documents to specify fonts to use

So you might be right, @Atavic , it might very well be that fonts remain downloaded but not used ...
As I said, if it weren't for the icon fonts I'd already have set UBO to block remote fonts.

@Atavic
Copy link

Atavic commented Feb 27, 2017

Most of those fonts are retrieved with scripts that call a CDN as google that easily fingerprints your browser when it loads the scripts. Blocking them reduces the attack surface against your browser (less fingerprinting exposition).

@ghost
Copy link
Author

ghost commented Feb 27, 2017

I'm aware of that, I'm not wondering if blocking remote fonts is pertinent, I know it is. Concerning Google alone I've set * fonts.googleapis.com * block ... that's not the problem.

If Firefox blocks downloading of all remote fonts (except icon fonts if that option is chosen) then I keep Firefox rather than UBO because UBO blocks icon fonts as well.

If Firefox blocks use/display of fonts but downloads them whatever, then I choose UBO font blocking.

'see what I mean?

@Atavic
Copy link

Atavic commented Feb 28, 2017

Yes. Firefox doesn't block those scripts, uBlock does it.

@smed79
Copy link
Contributor

smed79 commented Mar 1, 2017

Fanboy Anti-font Tracking is an alternative for other adblocker such Adblock Plus, AdBlock, Adgurd...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants