b*******r 发帖数: 713 | 1 菜鸟,想让mitbbs杂碎,特别是每天的八卦新闻和菌斑的东西少一些,研究了半天abp网
站http://adblockplus.org/en/filters,现学网页element selector的东西
弄了个这样的abp规则,哪位像我一样蛋疼的可以试试。我用的是chrome浏览器,已经
装了adblock plus,订阅了ChinaList+EasyList。下面是在abp的options->add your
own filters->Edit filters as raw text添加的
!front page rules
mitbbs.com##td[width="130"]
www.mitbbs.com##table[width="541"]:nth-of-type(1)
www.mitbbs.com##table[width="541"]:nth-of-type(2)
www.mitbbs.com##table[width="541"]:nth-of-type(3)
www.mitbbs.com##table[width="541"]:nth-of-type(4)
www.mitbbs.com##table[width="541"]:nth-of-type(5)
www.mitbbs.com##table[width="541"]:nth-of-type(6)
www.mitbbs.com##table[width="541"]:nth-of-type(7)
www.mitbbs.com##table[width="541"]:nth-of-type(8)
www.mitbbs.com##table[width="541"]:nth-of-type(9)
www.mitbbs.com##table[width="541"]:nth-of-type(10)
www.mitbbs.com##table[width="541"]:nth-of-type(11)
www.mitbbs.com##table[width="541"]:nth-of-type(12)
www.mitbbs.com##table[width="541"]:nth-of-type(13)
www.mitbbs.com##td[width="267"] > table[width="264"]
www.mitbbs.com##tr.news-bg:nth-of-type(1) + tr
www.mitbbs.com##tr.news-bg:nth-of-type(1)
www.mitbbs.com##table[width="1280"] > tbody > tr:nth-of-type(1)
!home page rules
www.mitbbs.com##table[width="620"]:nth-of-type(2)
www.mitbbs.com##table[width="620"]:nth-of-type(3)
www.mitbbs.com##table[width="620"]:nth-of-type(4)
www.mitbbs.com##table[width="620"]:nth-of-type(6)
www.mitbbs.com##table[width="620"]:nth-of-type(8)
www.mitbbs.com##table[width="620"]:nth-of-type(9)
!mitbbs.com##a[class="new_newhead_headlink"]
!mitbbs.com##td[class*="new_yellow_xwbt"]
!mitbbs.com##td[class="huibian_3"]
!mitbbs.com##td[class="new_bgdx"] | l********a 发帖数: 1154 | 2 费这老劲.有另一个配套plug in叫Element Hiding Helper for ABP(firefox下,不知道
chrome下有没有),安装了之后不用自己写规则
选中了,然后鼠标放到不想要的东西上,点一下,弹出界面看看属性没错,点一下确定就行
了,自动添加的.firefox下用了好多年了.
http://adblockplus.org/en/elemhidehelper |
|