Block TiebaAD 4.4

屏蔽贴吧各種恼人元素

目前为 2015-07-02 提交的版本。查看 最新版本

// ==UserScript==
// @name          Block TiebaAD 4.4
// @description	  屏蔽贴吧各種恼人元素
// @author        xiang2009tw
// @include       http://tieba.baidu.com/*
// @run-at        document-start
// @version       4.4
// @namespace https://gf.qytechs.cn/users/6037
// @noframes
// ==/UserScript==
(function() {
var css = "";
if (false || (document.domain == "tieba.baidu.com" || document.domain.substring(document.domain.indexOf(".tieba.baidu.com") + 1) == "tieba.baidu.com"))
    css += "\n/*廣告*/\n.top_activity,#bonus_forum_aside ,.bonus_forum_aside ,.advertise_right_index,.baidutuisong-xiaoxiong,[id*=\"aside_ad\"],div[data-daid],#j_p_postlist>DIV:not(.l_post):not(.p_postlist),.tbui_afb_compact,.global_notice_wrap,.bdyx_tips_,.bdyx_tips_icon_,.firework_sender_wrap,.baidutuisong,.search_button{display:none !important;}\n/*樓中精品*/\n.thread_recommend{display:none !important;}\n/*帖子內收藏欄*/\n.core_title_absolute_bright{z-index: 0 !important;}\n/*簽名檔屏蔽*/\n.j_user_sign{display:none !important;}\n";
/*2015-06-11*/
    css += "\n/*右側廣告等not刪除*/.search_form > div,.aside>div:not(#my_tieba_mod):not(#forumInfoPanel):not(#assistModePanel):not(.zyq_bright),.right_section > div:not(#my_tieba_mod),.my_app{display:none !important;}";
/*2015-06-21*/
    css += "\n/*浮動廣告*/\n.hover_btn,.close_btn,.u_joinvip{display:none !important;}\n";
    css += "\n/*帖子欄內廣告*/\nul#thread_list>li+li:not(.j_thread_list){display:none !important;}\n";
    css += "\n/*廣告*/\n#pb_adbanner,.pc2client,.dialogJmodal{display:none !important;}\n";
    css += "\n/*回覆帖特權*/\n.post_bubble_top,.post_bubble_middle,.post_bubble_bottom{background:none !important;}.save_face_bg.save_face_bg_2{display:none !important;}\n";
/*2015-06-23*/
    css += "\n/*頂部遊戲、直播、推廣*/\n#com_u9_head,.u9_head,.game_live_list,.per_list{display:none !important;}\n";
/*2015-06-30*/
    css += "\n/*廣告*/\n.pop_frame,.content_top,.j_play_list_panel{display:none !important;}\n";

if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node); 
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址