NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name SoFurry - Black Fullscreen
// @license MPL-2.0
// @description This fixes some of my SoFurry.com gripes
// @author SniperFox
// @homepage https://openuserjs.org/users/SniperFox
// @copyright 2018, SniperFox (https://openuserjs.org/users/SniperFox)
// @include http://sofurry.com/*
// @include https://sofurry.com/*
// @include http://*.sofurry.com/*
// @include https://*.sofurry.com/*
// @run-at document-start
// @version 42
// ==/UserScript==
(function() {var css = [
"@namespace url(http://www.w3.org/1999/xhtml);",
"/* Clear everything */",
" body{color:#AAAAAA !important; background-color: #111 !important;}",
" a, input{color:#CCCCCC !important;}",
" p,",
" span, ",
" div.sfCommentInnerLarge,",
" div.sfCommentInnerSmall{font-size: inherit !important;}",
" .backdrop{overflow:hidden !important;}",
"",
" /* Fonts */",
" body, div, th, td, h1 {font-family: Ubuntu,arial,helvetica,sans-serif !important; font-size: 12px !important; line-height: 12px !important;}",
" ",
" /* Get rid of wasted space */",
" #sf-viewcontent-content{padding-right: 0px !important;}",
" #sfContentBody, #sfContentBody div, #sfContentBody p{margin-right: 0px !important; font-size: 18px !important; line-height:20px !important;}",
" div.sf-footer-transition{height: 0px !important;}",
" div.sf-content{padding:0px 5px 0px 0px !important;}",
" .wrapper.bordered, #sf-main{width:100% !important; max-width:100% !important;}",
" .sf-carousel-event p, .sf-story, .sf-story-big, .sf-story:hover, .sf-story-wide, .sf-story-wide:hover{padding: 4px !important; border: none !important; text-shadow: none !important;}",
" .sf-story-big{height: auto !important;}",
" .topbar li:hover,.topbar li:hover {padding:0 !important;}",
" .topbar-nav li a {padding: 0.8em !important;}",
" .topbar-nav h1 a {padding: 0.8em 0.8em 0.8em 3.5em !important;}",
" ",
" /* Get rid of opacity effects */",
" .sf-prevnext .sfArtworkSmallWrapper .sfArtworkSmallInner img{opacity: 1 !important;}",
" ",
" /* Get rid of backgrounds and shadows */",
" button,",
" a.button,",
" input[type=\"submit\"],",
" #sfReportButton,",
" div.topbar,",
" div.topbar li:hover a,",
" div.topbar h1:hover a,",
" div.sf-main,",
" div.sf-topbar,",
" div.sf-footer,",
" div.watchlist-wrapper, ",
" div.sf-story-big, ",
" div.sf-story:hover, ",
" div.sf-story-wide:hover,",
" .grid-view table.items,",
" div.sffp-latest div.sftc-title,",
" div.sf-watermark,",
" div.sfCommentBody,",
" div.button-bar,",
" div.sf-draggable, ",
" div.sf-nondraggable,",
" div.banner,",
" div.forumtitle-background,",
" div.forum-thread-header .grey,",
" div.bbcode_quote,",
" div.sf-footer-breadcrumb,",
" span.sf-comment-options,",
" .sf-likes-section .title,",
" div.wide-active,",
" a.wide-inactive:hover,",
" tr,",
" body.mediawiki,",
" #mw-page-base,",
" #mw-head-base,",
" #sffp-compact-info,",
" fieldset,",
" legend,",
" h1,",
" h2,",
" h3,",
" ul.tabs,",
" ul.tabs li,",
" ul.tabs li a,",
" .watchlist_tabs li.current a,",
" .note,",
" .sfArtworkBigWrapper:hover, ",
" .sfArtworkSmallWrapper:hover, ",
" .sfArtworkSmallWrapper_fit:hover,",
" .sffp-draggable,",
" #sffp-events,",
" div.sf-carousel-event div.overlay,",
" a.sfTextMedLight,",
" .sftc-title .options,",
" .sftc-title .options li.current,",
" .sf-tabbar,",
" .sf-tabbar .left a,",
" #headersearch:focus,",
" div.backdrop,",
" .sftc-title,",
" #sf-userinfo-outer,",
" div.bbcode_quote_head,",
" div.bbcode_quote_body,",
" div.bbcode_code_head,",
" div.bbcode_code_body,",
" .totalItems,",
" input[type=\"text\"] {background-color: #111 !important; background-image: none !important; text-shadow: none !important; box-shadow: none !important; border: none !important;}",
" ",
" /* Get rid of everything but the background image */",
" div.overlay {text-shadow: none !important; box-shadow: none !important; border: none !important;}",
" ",
" /* Prevent things that didn\'t have a border before from moving on hover when we add a border with the next row */",
" #sf-userinfo-outer{border: solid 1px transparent !important;}",
" ",
" /* Put a little border back on some items */",
" .sftc-title .options, ",
" .sf-tabbar .left a,",
" #headersearch,",
" #headersearch:focus,",
" input.search,",
" .sftc-title,",
" div.bbcode_quote,",
" div.bbcode_code,",
" #sf-userinfo-outer:hover,",
" .watchlist_tabs li.current a,",
" ul.tabs li a.active,",
" .totalItems,",
" button {border: solid 1px white !important;}",
" ",
" /* Fix annoying colors */",
" .sidebarfilter-label,",
" .sf-story,",
" .sf-story:hover,",
" .sf-story-tags,",
" .sfTextMedium,",
" ul.yiiPager a:link,",
" .forums th,",
" .forums td,",
" .forum_threads th,",
" .forum_threads td,",
" div.bbcode_quote_body,",
" abbr {color: #AAAAAA !important;}",
" ",
" /* Highlight some items */",
" .sftc-title .options li.current,",
" .sf-tabbar .left a:hover,",
" .sfBrowseListContent .pager ul.yiiPager li a:hover,",
" div.thread_actions input:hover,",
" div.forum_fp_actions input:hover,",
" a.button:hover,",
" .sidebarfilter-active,",
" div.sf-footer a:hover {color: white !important; text-decoration: none !important;}",
" ",
" /* Add some hover to the top menu to make up for taking away the backgrounds */",
" div.topbar li:hover a,",
" div.topbar h1:hover a {color: White !important;}",
" ul.dropdown li a:hover,",
" a.sf-tag:hover {text-decoration: underline !important;}",
" ",
" /* Alternating and Active */",
" a.display-button-active,",
" td.sf-chat-message-alternate, ",
" div.sf-chat-roomlist-active,",
" div.forum_forumpost.even {background-color: #333 !important;}",
" table#sf-chat-messages.sf-chat-dynamic {color: inherit !important;}",
" ",
" /* Get rid of text colors */",
" .sfTextDark, #sfContentTitle, .sfTextMedDark {color: inherit !important;}",
" ",
" /* Style top bar hover */",
" a.sf-topbar-link:hover, ",
" a.sf-topbar-link-small:hover,",
" a.sf-topbar-link-small-active:hover,",
" a.sf-topbar-avlink:hover {color: White !important;}",
" ",
" /* Get rid of social networking and annoying story bookmark thing */",
" div.sf-external-title, div.sf-external-content, input.sf-story-bookmark {display: none !important;}",
" ",
" /* Get rid of text controls */",
" #sf-textcontent-controls {display: none !important;}",
" ",
" /* Story spacing */",
" #sf-viewcontent-content #sfContentBody p {margin-top: 0.25em !important;}",
" ",
" /* Chat room list headers white */",
" #sf-roomlist-cont, #sf-roomlist {width:14em !important;}",
" #sf-roomlist td.sf-chat-header-text {color: white !important;}",
" #sf-roomlist div.sf-chat-roomlist-room {width:9em !important;}",
" #sf-roomlist tbody tr td:nth-of-type(1) {width: 12em !important; color: white !important; text-align: right;}"
].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);
}
}
})();