1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 01:42:10 +00:00

Clarify a snippet on overriding stylesheets

We shouldn't require users to override stylesheets, but we should expect
it.
This commit is contained in:
rohan kumar 2020-11-24 10:42:06 -08:00
parent 8f47970379
commit 2d43a0ddc4
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 12 additions and 4 deletions

View file

@ -38,7 +38,9 @@ The "users don't know better and need us to make decisions for them" mindset isn
### 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.
It's not a good idea to require 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 have these users constantly battle with websites the same way that many adblocking/script-blocking users (myself included) already do when there's a better option.
That being said, many users *do* actually override stylesheets. We shouldn't *require* them to do so, but we should keep our pages from breaking in case they do. Pages following this article's advice will probably work perfectly well in these cases without any extra effort.
### But wouldn't that allow a website to fingerprint with fonts?

View file

@ -76,10 +76,16 @@ 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.
It's not a good idea to require 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.
icons. We shouldn't have these users constantly battle with websites the same way
that many adblocking/script-blocking users (myself included) already do when there's
a better option.
That being said, many users *do* actually override stylesheets. We shouldn't
*require* them to do so, but we should keep our pages from breaking in case they do.
Pages following this article's advice will probably work perfectly well in these
cases without any extra effort.
### But wouldn't that allow a website to fingerprint with fonts?