JSFiddle - React, Tailwind, and code Playground

by Jason Aller

JavaScript

// ==UserScript==
// @name            Test1
// @namespace       +mK or OMGWTFISTHIS
// @description     Changes HackForums to a dark, sleek theme!
// @include         http://www.hackforums.net/*
// @include         http://hackforums.net/*
// @version         1.3
// @run-at         document-start
// ==/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);
}

var styles = [];

styles.push('.thead {background: url(http://i.imgur.com/SRMEIpU.png) repeat scroll right top #111111; height: 20px; !important}');
styles.push('.tcat {background: url(http://i.imgur.com/SRMEIpU.png) repeat scroll 0 0 !important; }');
styles.push('.tborder {background: #111111; border: 1px solid #1D1D1D; !important; }');
styles.push('.bitButton {background-color: #1E1E1E; box-shadow: 0 1px 0 0 #505050 inset !important; }');
styles.push('#panel {border: 1px solid #111111; !important; }');
styles.push('.menu ul, .tfoot  {background: #111111 !important; }');
styles.push('.pm_alert {border: 1px solid #0AFF00 !important; }');
styles.push('body {background: #072948 url(http://imgur.com/dY3iaZ2.png) fixed; !important; }');
styles.push('.bottommenu {background: #111111; border: 1px solid #000000; !important; }');
styles.push('.button {background-color: #1E1E1E; box-shadow: 0 1px 0 0 #505050 inset !important; }');
styles.push('.shadetabs li a, .shadetabs li a.selected {background-color: #1E1E1E; color: #6D6D6D; box-shadow: 0 1px 0 0 #505050 inset !important; }');
styles.push('.shadetabs li a.selected, .shadetabs li a:hover {background-color: #111111; box-shadow: 0 1px 0 0 #505050 inset !important; }');
styles.push('.subforumicon.ajax_mark_read {background: #072948 url(http://i.imgur.com/Wfru130.gif) fixed; !important; }');
styles.push('a:hover, a:active, .menu ul a:hover, .menu ul...