// ==UserScript== // @name 知乎专栏手机阅读 // @namespace h-style-hh22 // @version 1.0.15 // @description 知乎专栏手机阅读222 // @author h // @grant GM_addStyle // @run-at document-start // @match *://*.zhuanlan.zhihu.com/* // @downloadURL none // ==/UserScript== (function() { let css = ` div.ContentItem-actions { background-color: #333; } div.Post-content { background: black; color: #bba; } div.css-805ti0, div.css-1besdh8, div.ColumnPageHeader { background-color: black; color: #bba; } div.css-1ygdre8 { color: #bba; } .Modal-wrapper1, .css-1ynzxqw { display: none !important; } :root, html { overflow: auto !important; } div.Post-RichTextContainer { width: 20em; } .Modal-closeButton { top: unset !important; left: 30%; bottom: -3em; `; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();