Skip to content

Instantly share code, notes, and snippets.

@djflux
Created August 16, 2021 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djflux/701268b0ab9cdd626d9701f4c5c8d1b1 to your computer and use it in GitHub Desktop.
Save djflux/701268b0ab9cdd626d9701f4c5c8d1b1 to your computer and use it in GitHub Desktop.
Tampermonkey script to change fonts on certain websites to Helvetica, Arial, or plain sans serif.
// ==UserScript==
// @name Helveticize
// @namespace https://flux.fm/
// @include https://mail.google.com/mail*
// @description Make Gmail fonts better because the suck by default.
// @author Andrew Rechenberg
// @match https://mail.google.com/mail*
// @match https://calendar.google.com/calendar*
// @match https://contacts.google.com/*
// @match https://*.ameritrade.com/*
// @match https://*.tdameritrade.com/*
// @match. https://google.com/*
// @grant GM_addStyle
// @version 20201104
// ==/UserScript==
GM_addStyle ( `
*:not(.DPvwYc) {
font-family: Helvetica, arial, sans-serif !important;
};
.DPvwYc {
font-family: 'Material Icons Extended';
}
` );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment