4 ms·
This is what user stylesheets were intended to solve. Too bad the majority browsers have gone down the path of attempting to remove all customisation.
by userbinator 5y ago
This is what user stylesheets were intended to solve. Too bad the majority browsers have gone down the path of attempting to remove all customisation.
- dkdbejwi383 5y agoUser stylesheets are a relic of Web 1.0, when the web was a series of hyperlinked documents. The transformation from web page to web application was not compatible with things like user stylesheets.
- amelius 5y agoYeah, most stylesheets nowadays look like they are generated by a compiler. Certainly not human-readable.
- kixiQu 5y agoThe business model where you need to stop your users from hiding ads was not compatible with things like user stylesheets. If CSS compilation didn't obfuscate class names and such, it'd be quite compatible.
- dkdbejwi383 5y agoOh yeah I don’t mean there’s a technological reason it’s not possible, it’s just at odds with the new controlling faction of the web. Time was the web was for everyone, and enthusiasts were the main stakeholders. Now the web is just another marketplace run by corporations.
- _pmf_ 5y agoI cannot even install fonts on Android.
- ceejayoz 5y agoI don't blame the browsers, really. Look at the source code of Twitter or Facebook. It's intentionally obfuscated and mangled, probably in part to fuck with ad blockers. I have a few user stylesheets (even a little custom Firefox extension to block one user's comments on a site I frequent), but the sites I'd really like to use them on largely don't make it possible to do so. Look at a Facebook ad in your browser's web inspector, for example. The "Sponsored" tag is made up of 31 different randomly named span tags. https://imgur.com/a/AHZL8ko https://imgur.com/a/AHZL8ko
- sli 5y ago* { font-family: 'Verdana, sans-serif !important' }
- ceejayoz 5y agoSure, and I can do that, at least in Firefox. https://superuser.com/questions/318912/how-can-i-override-the-css-of-a-site-in-firefox-with-usercontent-css https://superuser.com/questions/318912/how-can-i-override-th...
- pdkl95 5y agoIt took a while to setup, but fixing the problem in the font rendering layer has worked really well. Several years ago - after being annoyed by blurry/bad fonts, extremely bad hinting, and other font problems - I spent a few weeks investigating the way fonts are rendered and a few more weeks comparing many different fonts and various permutations of rendering/hinting methods. The result of all that work included a set of fontconfig files with long lists like this; <fontconfig> <alias> <family>Arial</family> <prefer><family>Ubuntu</family></prefer> </alias> <alias> <family>Helvetica</family> <prefer><family>Ubuntu</family></prefer> </alias> <!-- Many more aliases that --> <!-- force fonts to Ubuntu. --> <alias> <family>sans-serif</family> <prefer><family>Ubuntu</family></prefer> </alias> </fontconfig> This way, my font overrides happen in any software that uses fontconfig (i.e. most X11 software that uses TrueType fonts). $ fc-match Helvetica Ubuntu-R.ttf: "Ubuntu" "Regular" [1] https://en.wikipedia.org/wiki/Ubuntu_%28typeface%29 https://en.wikipedia.org/wiki/Ubuntu_%28typeface%29
- lotsofpulp 5y agoI assume any problem or slowness I have with a website on Safari in MacOS or iOS using a content blocker is due to the website wanting to track me or otherwise for advertisement purposes.
- akersten 5y ago> Look at a Facebook ad in your browser's web inspector, for example. The "Sponsored" tag is made up of 31 different randomly named span tags. https://imgur.com/a/AHZL8ko https://imgur.com/a/AHZL8ko Tangential, but I love the image of a frustrated PM at Facebook hearing the news that "hey, you still have to make this label readable to screenreaders," necessitating an `aria-label` with the plain-text content "Sponsored", which makes all their span-chopping junk completely irrelevant to adblocker rules that can now just look for that string as an anchor :)
- micromacrofoot 5y agoEven with user stylesheets targeting elements reliably on social networks is a nightmare. We're approaching a future where the markup isn't even human readable.
- megous 5y agoYou don't need to use website font's. You can configure the browser to use your chosen fonts. It's a normal accessibility option on the browser config page. The only problem is devs who use fonts for icons, which is as stupid as it sounds. https://megous.com/dl/tmp/0199107a482b8f75.png https://megous.com/dl/tmp/0199107a482b8f75.png (It would be nice to also have minimum font weight setting, not just minimum size, because some designers just can't be helped and use <=200. Then most of the issues with typography on the web would be solved.)