百度热点搜索屏蔽

百度热点搜索栏目屏蔽

目前为 2017-07-21 提交的版本。查看 最新版本

// ==UserScript==
// @name               Block Baidu Hot List
// @name:zh-CN         百度热点搜索屏蔽
// @namespace          h
// @version            0.01
// @description        Just Block Baidu Hot List
// @description:zh-CN  百度热点搜索栏目屏蔽
// @author             hoothin
// @include            http*://www.baidu.com/*
// @include            http*://m.baidu.com/*
// @grant              none
// @run-at             document-start
// @license            MIT License
// @compatible         chrome 测试通过
// @compatible         firefox 未测试
// @compatible         opera 未测试
// @compatible         safari 未测试
// @contributionURL    null
// @contributionAmount 1
// ==/UserScript==

(function() {
    'use strict';


    
    function addLoadEvent(func) {
        var oldonload = window.onload;
        if (typeof window.onload != 'function') {
            window.onload = func;
        } else {  
            window.onload = function() {
                oldonload();
                func();
            };
        }
    }



function t(){
    $(".opr-toplist-table").remove();
        console.log(" hot list table remove !");
}



addLoadEvent(t);


})();