Last active
November 4, 2016 17:57
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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