去百度搜索置顶推广 (ECMA6)

去除插入在百度搜索结果头部、尾部的推广链接。

< Feedback on 去百度搜索置顶推广 (ECMA6)

Review: OK - script works, but has bugs

§
Posted: 27-03-2016

移除了不该被移除的元素

意外的移除了 “您要找的是不是:xxxx”

§
Posted: 27-03-2016
Edited: 27-03-2016

经测试在 this.ads = document.querySelectorAll 里加入一个选择器即可解决问题: #content_left>div:not([class=hit_top_new]):

§
Posted: 28-03-2016
#content_left>div:not(.hit_top_new):

Post reply

Đăng nhập để bình luận