A Chrome extension that forces websites to substitute the fonts you choose for serif, sans-serif and monospace, while trying not to break icon fonts.
Force My Browser Fonts is currently the best way to force Chromium-based browsers to substitute the fonts you choose for serif, sans-serif and monospace without breaking icon fonts.
My hope is that someone will edit/fork this repo and make it better because (1) I don't know how to write javascript and (2) I don't know how to write Chromium extensions.
If you know of a more comprehensive script/extension, please let me know and I'll add a note to the top of this repo and archive it.
The work here was done purely out of desperation to Force My Browser Fonts.
Because anti-aliased fonts are hard to read or look "dirty" to many people, and most fonts look awful with font smoothing disabled.
Please don't get me started on the disastrous state of modern web design trends... e.g. mobile-first, icon-based-fonts, subpixel-font-rendering...
- Webmasters that don't use a base fallback font -- for the love of sweet baby jesus, give me strength
- Icon fonts declared in pseudo-selectors
:before
or:after
- Unknown icon font names
- Styles loaded cross-domain
- Styles injected after the page has loaded
- Unfortunately Stylish/Stylus userStyles are not an option for this task because they lack conditional logic
Here is a list of further reading on this topic, along with other similar extensions and userScripts
- Force chrome to use my preferred font over the author's
- Force cleartype fonts in Google Chrome
- Is it possible to override a web page's font-settings in Google Chrome for Windows
- Enforcing customized fonts?
- Apply different styles based on a condition?