Prefer generic fonts

When a font-family attribute includes a generic font, use it

Author
Mwk Soul
Daily installs
0
Total installs
19
Ratings
0 0 0
Version
1
Created
2023-08-01
Updated
2023-08-02
Size
1.61 KB
License
MIT
Applies to
All sites

Web pages define the fonts they want to use for text. When applicable, they will generally add at least one of these generic fonts as their last option: monospace, sans-serif, serif, cursive, or fantasy.

This script makes it so that these fonts get chosen first - making web pages look more uniform.