NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Facebook PitchBlack // @namespace http://tampermonkey.net/ // @version 0.6 // @description Change Facebook Dark Theme Colors To Pitch Black And Red! // @copyright 2021 Kraptor (https://openuserjs.org/users/Kraptor) // @license MIT // @updateURL https://openuserjs.org/meta/Kraptor/Facebook_PitchBlack.meta.js // @downloadURL https://openuserjs.org/install/Kraptor/Facebook_PitchBlack.user.js // @author Kraptor // @match https://www.facebook.com/ // @include https://www.facebook.com/* // @icon https://www.google.com/s2/favicons?domain=facebook.com // @grant none // ==/UserScript== function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } //Colors addGlobalStyle(":root,.__fb-dark-mode{--surface-background: #040203; important;}"); addGlobalStyle(":root,.__fb-dark-mode{--primary-deemphasized-button-text: #98050C; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--fb-logo-color:#98050C; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--primary-icon:#98050C; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--primary-button-text:#FFFFFF; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--primary-button-pressed:#98050C; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--primary-button-background-experiment:#2374E1; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--primary-button-background:#98050C; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--hover-overlay:rgba(0, 0, 0, 0.05); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--media-hover:rgba(152, 5, 12, 0.15); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--hover-overlay:rgba(0, 0, 0, 0.05); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--media-hover:rgba(152, 5, 12, 0.15); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--hover-overlay:rgba(152, 5, 12, 0.1); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--card-background: #040203; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--card-background-flat: #040203; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--comment-background: #4B0205; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--highlight-bg: #4B0205; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--messenger-card-background: #040203; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--messenger-reply-background: #040203;!important;}"); addGlobalStyle(":root,.__fb-dark-mode{--nav-bar-background-gradient-wash:linear-gradient(to top, #040203, rgba(4, 2, 3,.9), rgba(4, 2, 3,.7), rgba(4, 2, 3,.4), rgba(4, 2, 3,0)); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--nav-bar-background: #040203; !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--nav-bar-background-gradient:linear-gradient(to top, #040203, rgba(4, 2, 3,.9), rgba(4, 2, 3,.7), rgba(4, 2, 3,.4), rgba(4, 2, 3,0)); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--nav-bar-background-gradient-wash:linear-gradient(to top, #040203, rgba(4, 2, 3,.9), rgba(4, 2, 3,.7), rgba(4, 2, 3,.4), rgba(4, 2, 3,0)); !important;}"); addGlobalStyle(":root,.__fb-dark-mode{--web-wash: #040203; !important;}");