Created
September 10, 2022 18:42
-
-
Save albert-tomanek/d5ebbb2158af035d0cd7875e0f7cc640 to your computer and use it in GitHub Desktop.
Tampermonkey: GitHub Comic Sans
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 GitHub Comic Sans MS | |
// @namespace http://tampermonkey.net/ | |
// @version 0.0 | |
// @description Swithc font to Comic Sans MS | |
// @author You | |
// @match https://*.github.com/* | |
// @icon https://www.google.com/s2/favicons?domain=github.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
var css = ` | |
:not(span) { | |
font-family: comic sans ms; | |
}; | |
`; | |
var styleSheet = document.createElement("style"); | |
styleSheet.type = "text/css"; | |
styleSheet.innerText = css; | |
document.head.appendChild(styleSheet); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment