https://tieba.baidu.com*/*

try to take over the world!

2018/12/22のページです。最新版はこちら

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         https://tieba.baidu.com*/*
// @namespace    Tie Ba Bai Du - Remove Ads
// @icon         https://www.google.com/s2/favicons?domain=baidu.com
// @version      0.3
// @description  try to take over the world!
// @author       You
// @match        https://tieba.baidu.com*/*
// @supportURL   https://github.com/admin-ll55/
// @grant        none
// ==/UserScript==
setTimeout(function(){
    var script = document.createElement("SCRIPT");
    script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js';
    script.type = 'text/javascript';
    script.onload = function() {
        var $ = window.jQuery;
        setInterval(function(){
            $("li.clearfix:not(.j_thread_list)").remove();
            $("div.l_post.l_post_bright.j_l_post.clearfix").each(function(){
                $(this).text().match("广告") ? $(this).remove() : void(0);
            });
        }, 1000);
    };
    document.getElementsByTagName("head")[0].appendChild(script);
},5000);