Skip to content

Instantly share code, notes, and snippets.

@mhulse
Last active November 4, 2016 17:57
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 mhulse/0378a884c680295e1a6e6c9ca7f3649f to your computer and use it in GitHub Desktop.
Save mhulse/0378a884c680295e1a6e6c9ca7f3649f to your computer and use it in GitHub Desktop.
+make-gmail-font-size-larger.user.js: Firefox GreaseMonkey or Chrome Tampermonkey script: Make Gmail font size larger because it sucks by default.
// ==UserScript==
// @name Gmail Font Size Changer
// @namespace http://mky.io
// @include https://mail.google.com/mail*
// @description Make Gmail font size larger because it sucks by default.
// @grant none
// @version 201607282
// ==/UserScript==
(function() {
'use strict';
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('body { font-size: 20px; line-height: 1.6; }');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment