Replaces website fonts with Roboto (default via Google Fonts), a local font, or a custom online URL, without breaking Font Awesome, Glyphicons, or Icomoon icons
Swap out website fonts with Roboto (default from Google Fonts), a local font, or your own online font file—without breaking icons like Font Awesome or Glyphicons. Easy to tweak however you like!
Tired of dull website fonts? This script lets you take over and set whatever font you want—Roboto comes built-in via Google Fonts, but you can switch to a font on your computer (like Arial) or one you find online (like a custom .woff2 file). Best part? It keeps those little icons—like menu buttons or gears—looking sharp, so your sites don’t turn into a mess.
By default, it uses Roboto (a slick, modern font loved all over the web), but you can change it up in a snap. No tech skills needed—just a couple of clicks and maybe a copy-paste. It works on every site you visit, from social media to news pages, and it’s flexible enough to fit your style.
What You Get:
.woff2 recommended).Version: 1.09 – Solid, flexible, and good to go!
Grab Tampermonkey
Add the Script
See If It’s Working
The script starts with Roboto from Google Fonts, but you can swap it to anything you want—something on your computer or a font file online. Here’s how:
Open It Up in Tampermonkey
Find the Font Settings
const fontSettings = {useGoogleFonts: true, googleFontUrl: "https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap", googleFontName: "Roboto",
useCustomUrl: false, customFontName: "CustomFont", customFontUrl: "", localFontName: "Arial", fallback: "sans-serif"};```