Skip to content

Commit 2b8e259

Browse files
committed
fix
1 parent c3b450b commit 2b8e259

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Kill TieBa AD/Kill TieBa AD.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN 贴吧广告清理
44
// @name:zh-TW 貼吧廣告去除
55
// @namespace hoothin
6-
// @version 1.0
6+
// @version 1.1
77
// @description Just Kill TieBa AD
88
// @description:zh-CN 清理百度贴吧(tieba.baidu.com)内的列表伪装,帖内伪装,触点广告,页首广告,推荐应用等各类广告
99
// @description:zh-TW 去除百度貼吧(tieba.baidu.com)内的列表偽裝,帖內偽裝,觸點廣告,頁首廣告,推薦應用等各類廣告
@@ -23,7 +23,7 @@
2323
'use strict';
2424
var observer, option;
2525
var MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
26-
var tcss = ".j_encourage_entry{display: none !important;} #encourage_entry{display: none !important;} .tpoint-skin{display: none !important;} #pb_adbanner{display: none !important;} .iframe_wrapper{display: none !important;} div.tpoint-skin{display: none !important;} .j_click_stats{display: none !important;}";
26+
var tcss = "#j_p_postlist>div.clearfix,.j_encourage_entry,#encourage_entry,.tpoint-skin,#pb_adbanner,.iframe_wrapper,div.tpoint-skin,.j_click_stats,#thread_list>li:not(.j_thread_list),#j_p_postlist>div:not(.l_post){display:none !important;}";
2727
var snod = document.createElement('style');
2828
snod.innerHTML = tcss;
2929
document.getElementsByTagName("head")[0].appendChild(snod);

0 commit comments

Comments
 (0)