Created
September 26, 2019 22:42
-
-
Save Inclushe/32b7298fbdb786915abeb18c07f323bb to your computer and use it in GitHub Desktop.
NoRoobert - Bring back the old Twitch font.
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 NoRoobert | |
// @description Bye-bye NoRoobert. | |
// @author Inclushe | |
// @namespace https://inclushe.com/ | |
// @match https://www.twitch.tv/* | |
// @run-at document-start | |
// @version 0.42069 | |
// @grant none | |
// ==/UserScript== | |
(function() {var css = [ | |
"#root {", | |
" font-family: Helvetica Neue,Helvetica,Arial,sans-serif !important;", | |
"}" | |
].join("\n"); | |
if (typeof GM_addStyle != "undefined") { | |
GM_addStyle(css); | |
} else if (typeof PRO_addStyle != "undefined") { | |
PRO_addStyle(css); | |
} else if (typeof addStyle != "undefined") { | |
addStyle(css); | |
} else { | |
var node = document.createElement("style"); | |
node.type = "text/css"; | |
node.appendChild(document.createTextNode(css)); | |
var heads = document.getElementsByTagName("head"); | |
if (heads.length > 0) { | |
heads[0].appendChild(node); | |
} else { | |
// no head yet, stick it whereever | |
document.documentElement.appendChild(node); | |
} | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download the Tampermonkey extension for your browser then click here to install (or click 'Raw' on the file above).