博文背景
程序员学习时总是不希望被打扰,百度的热榜经常会吸引我们点进去浪费我们宝贵的时间,那么拥有一个好的屏蔽策略来屏蔽百度的热榜是十分必要的
具体操作
在用户屏蔽策略中添加如下内容:
baidu.com###s-hotsearch-wrapper > div.s-hotsearch-title:first-child > a.hot-title:first-child > div.title-text.c-font-medium.c-color-t
baidu.com###hotsearch-content-wrapper > li.hotsearch-item.odd:first-child > a.title-content.c-link.c-font-medium.c-line-clamp1
baidu.com###hotsearch-content-wrapper > li.hotsearch-item.even:nth-child(2) > a.title-content.c-link.c-font-medium.c-line-clamp1
baidu.com###hotsearch-content-wrapper > li.hotsearch-item.odd:nth-child(3) > a.title-content.c-link.c-font-medium.c-line-clamp1
baidu.com###hotsearch-content-wrapper > li.hotsearch-item.even:nth-child(4) > a.title-content.c-link.c-font-medium.c-line-clamp1
baidu.com###hotsearch-content-wrapper > li.hotsearch-item.odd:nth-child(5) > a.title-content.c-link.c-font-medium.c-line-clamp1
baidu.com###hotsearch-content-wrapper > li.hotsearch-item.even:last-child > a.title-content.c-link.c-font-medium.c-line-clamp1
baidu.com###hotsearch-refresh-btn
baidu.com###content_right