Skip to content

Instantly share code, notes, and snippets.

@albert-tomanek
Created September 10, 2022 18:42
Show Gist options
  • Save albert-tomanek/d5ebbb2158af035d0cd7875e0f7cc640 to your computer and use it in GitHub Desktop.
Save albert-tomanek/d5ebbb2158af035d0cd7875e0f7cc640 to your computer and use it in GitHub Desktop.
Tampermonkey: GitHub Comic Sans
// ==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