// ==UserScript== // @name zhihu // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://*.zhihu.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=zhihu.com // @grant none // ==/UserScript== (function() { 'use strict'; const $style = document.createElement('style'); $style.type = 'text/css'; $style.textContent = `.Modal-wrapper{display:none !important;} body{overflow:scroll;height:100vh;}`; document.head.appendChild($style); window.onload = ()=>{ const chosen = document.getElementsByClassName('Modal-backdrop')[0].parentElement.parentElement.parentElement.parentElement chosen.parentNode.removeChild(chosen) } })();