// ==UserScript== // @name 知乎专栏手机阅读 // @namespace h-style-hh22 // @version 1.0.8 // @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.ColumnPageHeader { background-color: black; color: #bba; } div.css-1ygdre8 { color: #bba; } .Modal-wrapper, .css-1ynzxqw { display: none !important; } :root, html { overflow: auto !important; } div.Post-NormalMain>div, div.Post-NormalSub>div { width: 24em; `; 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); } })();