Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ==UserScript==
// @name Spoilers!
// @namespace http://chat.stackexchange.com/
// @description Turns `` markup into spoiler tags.
// @author Arda Xi
// @homepage http://chat.stackexchange.com/rooms/35
// @include http://*chat.stackexchange.com/rooms/35*
// @include http://*chat.stackexchange.com/rooms/1044*
// ==/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.