Created
September 9, 2014 00:13
-
-
Save P1xt/7a894ae4cfebd2345052 to your computer and use it in GitHub Desktop.
Greasemonkey script to shrink the text in the new crazy arsed Saylor redesign down to something usable ... seriously 4em ... w t hell people
This file contains 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 saylor | |
// @namespace P1xt | |
// @description Fix Saylor font sizing | |
// @include http://www.saylor.org/ | |
// @include http://www.saylor.org/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
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('* {FONT-SIZE: 15px ! important; }'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment