Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Krernstchan
- // @description If you're conditioned on the old Kaycee color scheme
- // @author Low Effort Ernst-fork of the original by Torschlusspanik
- // @match http://ernstchan.xyz/*
- // @match https://ernstchan.xyz/*
- // @match http://*.ernstchan.xyz/*
- // @match https://*.ernstchan.xyz/*
- // @match https://dietchan.org/*
- // @match http://dietchan.org/*
- // @run-at document-end
- // @version 0.12
- // ==/UserScript==
- (function() {var css = [
- "body {",
- " background-color: #e7e7e7 !important;",
- "}",
- ".info,",
- ".post {",
- " margin-bottom: 0.3em !important;",
- " word-wrap: normal;",
- " border-style: none !important;",
- " overflow: auto !important;",
- " background-color: #b0b0d0 !important;",
- "}",
- "body {",
- " color: #000000 !important;",
- " font: normal 0.8em sans-serif;",
- "}",
- "[id^='posttext'] {",
- " word-break: keep-all !important;",
- " overflow-wrap: normal !important;",
- "}",
- ".title,",
- ".thread_head {",
- " clear: left !important;",
- " background-color: #e7e7e7 !important;",
- " color: #000000 !important;",
- " padding-top: 0px !important;",
- " padding-left: 5px !important;",
- " padding-bottom: 5px !important;",
- "}",
- "blockquote.unkfunc,",
- "span.quote {",
- " color: #007733 !important;",
- " margin: 0 !important;",
- "}",
- ".postername {",
- " color: #3333dd !important;",
- "}",
- "a:link,",
- "a:visited,",
- "a:hover {",
- " color: #000000 !important;",
- "}",
- ".boardname,",
- ".caption {",
- " color: #bb0000 !important;",
- " font-size: 2em !important;",
- " margin-top: 0.2em !important;",
- "}",
- ".subject {",
- " color: #dd0000 !important;",
- " font-size: 1.2em !important;",
- "}",
- ".notice {",
- " color: #000000 !important;",
- " background-color: #9090c0 !important;",
- "}",
- "a:link,",
- "a:visited,",
- "a:hover {",
- " color: #000000 !important;",
- "}",
- "#WzTiTlTb {",
- " color: #000000 !important;",
- " background-color: #c0c0e0 !important;",
- "}",
- "#WzTiTl {",
- " color: #000000 !important;",
- " background-color: #a0a0b0 !important;",
- "}",
- "#WzTiTlI {",
- " color: #000000 !important;",
- " background-color: #a0a0b0 !important;",
- "}",
- "#WzBoDy {",
- " color: #000000 !important;",
- " background-color: #c0c0e0 !important;",
- "}",
- ".pagelist {",
- " background-color: #b0b0d0 !important;",
- "}",
- ".file {",
- " background-color: #a0a0bf !important;",
- "}",
- ".sage {",
- " color: #BF40BF !important;",
- "}",
- "ul.menu li a,",
- "ul.menu_bottom li a {",
- " background-color: #fff !important;",
- " color: #000000 !important;",
- "}",
- ".row1 {",
- " background-color: #9999aa !important;",
- "}",
- ".row2 {",
- " background-color: #666666 !important;",
- "}"
- ].join("\n");
- if (typeof GM_addStyle != "undefined") {
- GM_addStyle(css);
- } else if (typeof PRO_addStyle != "undefined") {
- PRO_addStyle(css);
- } else if (typeof addStyle != "undefined") {
- addStyle(css);
- } else {
- var node = document.createElement("style");
- node.type = "text/css";
- node.appendChild(document.createTextNode(css));
- var heads = document.getElementsByTagName("head");
- if (heads.length > 0) {
- heads[0].appendChild(node);
- } else {
- // no head yet, stick it whereever
- document.documentElement.appendChild(node);
- }
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement