// ==UserScript== // @name 清理百度贴吧插入广告 // @icon http://www.studstu.com/fximg/delicious.gif // @namespace moekai.moe.cleartiebaad // @version 0.7 // @description 清理掉贴吧列表和贴子中插入的广告(轻量级) // @author YIU // @include *://tieba.baidu.com/* // @grant none // @compatible chrome OK // @compatible firefox OK // @downloadURL none // ==/UserScript== (function() { //======== 你可以修改这下面的数据 ======== //清理 1楼 下的 相关推荐(0不清理 1清理) var delrec = 0; //滚动条清理频率(如果想更快的清理,可以把数值改小,但不要小于1) var scrollrate = 10; //======== 函数区,不要修改 ======= //--- 删除列表AD function DelTeibaListAD(){ //列表区域检查 var oa = document.getElementById('thread_list'); if(!oa) return; var os = oa.children; var oss = os.length; for(var o=0; o