// ==UserScript== // @name remove baidu ads // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://www.baidu.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=baidu.com // @grant none // ==/UserScript== (function() { 'use strict'; const st = document.createElement('style') st.innerHTML="#content_right{display:none !important;} div[prank]{height:0px !important;overflow:hidden !important;}" document.querySelector('#head > .head_wrapper').appendChild(st) // Your code here... })();