Skip to content

Instantly share code, notes, and snippets.

@iptq
Created May 4, 2021 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iptq/a0fde7b73eeea53a5b00857cf4c7513d to your computer and use it in GitHub Desktop.
Save iptq/a0fde7b73eeea53a5b00857cf4c7513d to your computer and use it in GitHub Desktop.
// ==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