Created
May 4, 2021 23:38
-
-
Save mzhang28/a0fde7b73eeea53a5b00857cf4c7513d to your computer and use it in GitHub Desktop.
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 make obwc website readable | |
// @version 1 | |
// @grant none | |
// @include https://obwc.net/* | |
// ==/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("* { text-transform: none; font-family: sans-serif; }"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment