Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // @include http://2ch.hk/*
- // @include https://2ch.hk/*
- // @include http://*.2ch.hk/*
- // @include https://*.2ch.hk/*
- // @run-at document-start
- // @version 0.20121218233854
- // ==/UserScript==
- (function() {var css = [
- "#adminbar { display: none; }",
- "#title { display: none; }",
- ".abupost { display: none; }",
- ".footer { display: none; }",
- ".mobile { display: none; }",
- "hr { display: none; }",
- ".filetitle { font-weight: normal; font-size: 1.1em; }",
- "",
- "a { color: #4271ae; }",
- ".orange { color: #4271ae; }",
- "",
- "td a {",
- " color: #4271ae; ",
- " font-size: 1.2em !important;",
- " background: #fafafa;",
- " padding: 3px 7px 3px 7px;",
- " border-radius: 7px; ",
- "}",
- "",
- ".rmenu a { ",
- " color: #4271ae; ",
- " font-size: 1.2em !important;",
- " background: #fafafa;",
- " padding: 3px 7px 3px 7px;",
- " border-radius: 7px; ",
- "}",
- ".rmenu a:visited { color: #f5871f; }",
- "",
- "html, body {",
- " font-size: 1.1em !important;",
- " font-family: Ubuntu, \"Helvetica Neue\", Helvetica, Arial, Sans-Serif !important ;",
- " line-height: 25px;",
- "",
- " background-color: #FFF;",
- "}",
- "",
- ".reply {",
- " background: #fafafa;",
- " border: solid 1px #d6d6d6;",
- " padding: 0;",
- " margin: 0;",
- "}",
- "",
- "tt, code, kbd, samp {",
- " font-family: Inconsolata;",
- " font-size: 1.2em;",
- "}"
- ].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