User:Aihavenoideawhatsoever/global.css

(function (mw, $, window) {   'use strict';    if (mw.config.get('skin') !== 'oasis') return;    function addStylesheet  {        $('')        .appendTo(window.document.head || 'head');    }    if ($.storage.get('altStylesheet')) {        addStylesheet;    }    $(function  { // this is the selector for the button: $('#WikiHeader').find('.wordmark').find('.wikia-menu-button') .click(function {            var stylesheet = $('#alt-stylesheet')            if (stylesheet.length) {                stylesheet.remove;                $.storage.del('altStylesheet');            } else {                addStylesheet;                $.storage.set('altStylesheet', '1');            }            // this BS code forces stupid browser to repaint:            var div = $(' ').appendTo(window.document.body);            window.setTimeout(function{ div.remove; }, 0);        }); }); }(mediaWiki, jQuery, window));