1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00

Explain why global stylesheet overrides are bad

This commit is contained in:
rohan kumar 2020-11-24 03:50:06 -08:00
parent 79b91972e7
commit f1a56e9ec4
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 11 additions and 0 deletions

View file

@ -36,6 +36,10 @@ A personal example: I set my preferred fonts in my computer's fontconfig setting
The "users don't know better and need us to make decisions for them" mindset isn't without merits; however, in my opinion, it's overused. Using system fonts doesn't make your website harder to use, but it does make it smaller and stick out less to the subset of users who care enough about fonts to change them. This argument isn't about making software easier for non-technical users; it's about branding by asserting a personal preference. The "users don't know better and need us to make decisions for them" mindset isn't without merits; however, in my opinion, it's overused. Using system fonts doesn't make your website harder to use, but it does make it smaller and stick out less to the subset of users who care enough about fonts to change them. This argument isn't about making software easier for non-technical users; it's about branding by asserting a personal preference.
### Can't users globally override stylesheets instead?
It's not a good idea to expect users to automatically override website stylesheets. Doing so would break websites that use fonts such as Font Awesome to display vector icons. We shouldn't expect these users to constantly battle with websites the same way that many adblocking/script-blocking users (myself included) already do.
### But wouldn't that allow a website to fingerprint with fonts? ### But wouldn't that allow a website to fingerprint with fonts?
I don't know much about fingerprinting, except that you can't do font enumeration without JavaScript. Since text-based websites that follow these best-practices don't send requests after the page loads and have no scripts, fingerprinting via font enumeration is a non-issue. I don't know much about fingerprinting, except that you can't do font enumeration without JavaScript. Since text-based websites that follow these best-practices don't send requests after the page loads and have no scripts, fingerprinting via font enumeration is a non-issue.

View file

@ -74,6 +74,13 @@ the subset of users who care enough about fonts to change them. This argument is
about making software easier for non-technical users; it's about branding by about making software easier for non-technical users; it's about branding by
asserting a personal preference. asserting a personal preference.
### Can't users globally override stylesheets instead?
It's not a good idea to expect users to automatically override website stylesheets.
Doing so would break websites that use fonts such as Font Awesome to display vector
icons. We shouldn't expect these users to constantly battle with websites the same way
that many adblocking/script-blocking users (myself included) already do.
### But wouldn't that allow a website to fingerprint with fonts? ### But wouldn't that allow a website to fingerprint with fonts?
I don't know much about fingerprinting, except that you can't do font enumeration I don't know much about fingerprinting, except that you can't do font enumeration