您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Corrections to UI of twitter.com
当前为
// ==UserScript== // @name CSS: twitter.com // @description Corrections to UI of twitter.com // @author MK // @namespace max44 // @homepage https://gf.zukizuki.org/en/users/309172-max44 // @match *://*.twitter.com/* // @icon https://www.google.com/s2/favicons?domain=twitter.com // @version 1.1.4 // @license MIT // @run-at document-idle // ==/UserScript== (function() { //CSS for any mode var css = ` /*No opacity for header*/ .r-6026j { /*white UI*/ background-color: rgba(255, 255, 255, 1) !important; } .r-ii8lfi { /*dim UI*/ background-color: rgba(21, 32, 43, 1) !important; } .r-5zmot { /*lights out UI*/ background-color: rgba(0, 0, 0, 1) !important; } .r-1e5uvyk { backdrop-filter: none !important; } /*Add bottom border to header*/ main[role="main"] div[data-testid="primaryColumn"] > div[tabindex="0"] > div, /*Desktop browser*/ div[data-testid="TopNavBar"] { /*Mobile browser*/ border-bottom-width: 1px !important; border-bottom-style: solid !important; border-bottom-color: rgb(239, 243, 244) !important; } /*No opacity for floating button in mobile twitter*/ div#layers aside > div[data-testid="FloatingActionButtonBase"] { opacity: 1 !important; } /*No opacity for bottom bar in mobile twitter*/ div#layers div[data-testid="BottomBar"] { opacity: 1 !important; } .r-1i6wzkk { transition-property: unset !important; } `; 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)); document.documentElement.appendChild(node); } })();