Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ==UserScript==
// @name Spoilers!
// @namespace
// @description Turns `` markup into spoiler tags.
// @author Arda Xi
// @homepage
// @include http://**
// @include http://**
// ==/UserScript==
(function(){var a="code{background:#000!important;color:#000!important;}code:hover{color:#FFF!important;}";var c=document.getElementsByTagName("head");if(c.length>0){var b=document.createElement("style");b.type="text/css";b.appendChild(document.createTextNode(a));c[0].appendChild(b)}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.