NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name 手机版百度清爽 // @namespace https://openuserjs.org/scripts/gqz/%E7%99%BE%E5%BA%A6%E6%B8%85%E7%88%BD // @version 0.1.1 // @description try to take over the world! // @author You // @match https://m.baidu.com/* // @match https://baijiahao.baidu.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=baidu.com // @grant none // @run-at document-start // @updateURL https://openuserjs.org/meta/gqz/手机版百度清爽.meta.js // @copyright 2023, gqz (https://openuserjs.org/users/gqz) // @license MIT // ==/UserScript== (function() { 'use strict'; console.log('mBaidu Clear Init') var css =` #page-copyright{ margin-bottom: 5px !important; } #copyright ~div{ display:none!important; height:0px !important; overflow: hidden; } .c-result[tpl="recommend_list"],#page-relative,.ec_wise_ad{ height:0px !important; overflow: hidden !important; } #bdrainrwDragButton,#headDeflectorContainer,#searchwordSdk{ display:none!important; } #mainContentContainer{ height:unset !important; } .foldMaskWrapper{ display:none!important; } #page_wrapper > .spider > div{ display:none; } #page_wrapper > .spider > div:has(> #commentModule){ display:block!important; } #page_wrapper > .spider > #content_wrapper { display:block!important; } `; function addStyle(){ if(document.getElementById('yhstyle')===null){ var node = document.createElement("style"); node.type = "text/css"; node.id='yhstyle' node.appendChild(document.createTextNode(css)); var heads = document.getElementsByTagName("head"); heads[0].appendChild(node); } } addStyle() })();