Greasy Fork is available in English.

加多重buff的广告拦截脚本

去广告脚本,可能有误杀,可以写白名单,或者不全局运行

Versione datata 19/02/2023. Vedi la nuova versione l'ultima versione.

// ==UserScript==
// @name   加多重buff的广告拦截脚本
// @author ChatGPT定制
// @description 去广告脚本,可能有误杀,可以写白名单,或者不全局运行
// @version 8.7
// @match *://*/*
// @exclude *://*.bing.com/*
// @exclude *://*.iqiyi.com/*
// @exclude *://*.qq.com/*
// @exclude *://*.sohu.com/*
// @exclude *://*.mgtv.com/*
// @exclude *://*.ifeng.com/*
// @exclude *://*.pptv.com/*
// @exclude *://*.sina.com.cn/*
// @exclude *://*.56.com/*
// @exclude *://*.cntv.cn/*
// @exclude *://*.tudou.com/*
// @exclude *://*.baofeng.com/*
// @exclude *://*.le.com/*
// @exclude *://*.pps.tv/*
// @exclude *://*.www.fun.tv/*
// @exclude *://*.baidu.com/*
// @exclude *://*.meipai.com/*
// @exclude *://*.ku6.com/*
// @exclude *://*.v1.cn/*
// @exclude *://*.baomihua.com/*
// @exclude *://*.wasu.cn/*
// @exclude *://*.aipai.com/*
// @exclude *://*.tvsou.com/*
// @exclude *://*.6.cn/*
// @exclude *://*.zhiyin.cn/*
// @exclude *://*.1905.com/*
// @exclude *://*.kankan.com/*
// @exclude *://*.douyu.com/*
// @exclude *://*.huya.com/*
// @exclude *://*.longzhu.com/*
// @exclude *://*.yy.com/*
// @exclude *://*.hao123.com/*
// @exclude *://*.kugou.com/*
// @exclude *://*.9xiu.com/*
// @exclude *://*.huomao.com/*
// @exclude *://*.yizhibo.com/*
// @exclude *://*.weibo.com/*
// @exclude *://*.vmovier.com/*
// @exclude *://*.bale.cn/*
// @exclude *://*.cuctv.com/*
// @exclude *://*.people.com.cn/*
// @exclude *://*.cctv.com/*
// @exclude *://*.jstv.com/*
// @exclude *://*.brtn.cn/*
// @exclude *://*.zjstv.com/*
// @exclude *://*.iqilu.com/*
// @exclude *://*.gdtv.com.cn/*
// @exclude *://*.ahtv.cn/*
// @exclude *://*.tvb.com/*
// @exclude *://*.tvmao.com/*
// @exclude *://*.douban.com/*
// @exclude *://*.mtime.com/*
// @exclude *://*.163.com/*
// @exclude *://*.bilibili.com/*
// @exclude *://*.www.gov.cn/*
// @exclude *://*.kumi.cn/*
// @exclude *://*.61.com/*
// @exclude *://*.u17.com/*
// @exclude *://*.stnn.cc/*
// @exclude *://*.huanqiu.com/*
// @exclude *://*.cankaoxiaoxi.com/*
// @exclude *://*.takungpao.com/*
// @exclude *://*.thepaper.cn/*
// @exclude *://*.xinhuanet.com/*
// @exclude *://*.chinanews.com/*
// @exclude *://*.southcn.com/*
// @exclude *://*.wenming.cn/*
// @exclude *://*.81.cn/*
// @exclude *://*.china.com/*
// @exclude *://*.cnr.cn/*
// @exclude *://*.cri.cn/*
// @exclude *://*.youth.cn/*
// @exclude *://*.71.cn/*
// @exclude *://*.qdaily.com/*
// @exclude *://*.k618.cn/*
// @exclude *://*.infzm.com/*
// @exclude *://*.legaldaily.com.cn/*
// @exclude *://*.cyol.net/*
// @exclude *://*.bjnews.com.cn/*
// @exclude *://*.wenweipo.com/*
// @exclude *://*.12371.cn/*
// @exclude *://*.gmw.cn/*
// @exclude *://*.hsw.cn/*
// @exclude *://*.dahe.cn/*
// @exclude *://*.nfcmag.com/*
// @exclude *://*.chinadaily.com.cn/*
// @exclude *://*.gxnews.com.cn/*
// @exclude *://*.xfrb.com.cn/*
// @exclude *://*.ycwb.com/*
// @exclude *://*.sxrb.com/*
// @exclude *://*.dbw.cn/*
// @exclude *://*.fjsen.com/*
// @exclude *://*.dzwww.com/*
// @exclude *://*.cnhubei.com/*
// @exclude *://*.oeeee.com/*
// @exclude *://*.cqnews.net/*
// @exclude *://*.inewsweek.cn/*
// @exclude *://*.yangtse.com/*
// @exclude *://*.lifeweek.com.cn/*
// @exclude *://*.kankanews.com/*
// @exclude *://*.cpd.com.cn/*
// @exclude *://*.haiwainet.cn/*
// @exclude *://*.banyuetan.org/*
// @exclude *://*.cnautonews.com/*
// @exclude *://*.yidianzixun.com/*
// @exclude *://*.sinovision.net/*
// @exclude *://*.un.org/*
// @exclude *://*.cnn.com/*
// @exclude *://*.tianya.cn/*
// @exclude *://*.crntt.com/*
// @exclude *://*.tiexue.net/*
// @exclude *://*.kdnet.net/*
// @exclude *://*.m4.cn/*
// @exclude *://*.ifengweekly.com/*
// @exclude *://*.guancha.cn/*
// @exclude *://*.aisixiang.com/*
// @exclude *://*.qidian.com/*
// @exclude *://*.faloo.com/*
// @exclude *://*.readnovel.com/*
// @exclude *://*.hongxiu.com/*
// @exclude *://*.xxsy.net/*
// @exclude *://*.fmx.cn/*
// @exclude *://*.xs8.cn/*
// @exclude *://*.jjwxc.net/*
// @exclude *://*.zongheng.com/*
// @exclude *://*.kanshu.com/*
// @exclude *://*.zhulang.com/*
// @exclude *://*.19lou.com/*
// @exclude *://*.17k.com/*
// @exclude *://*.3gsc.com.cn/*
// @exclude *://*.heiyan.com/*
// @exclude *://*.qdmm.com/*
// @exclude *://*.hongshu.com/*
// @exclude *://*.motie.com/*
// @exclude *://*.kujiang.com/*
// @exclude *://*.shuhai.com/*
// @exclude *://*.xiang5.com/*
// @exclude *://*.hbooker.com/*
// @exclude *://*.lkong.net/*
// @exclude *://*.txtbook.com.cn/*
// @exclude *://*.ximalaya.com/*
// @exclude *://*.lrts.me/*
// @exclude *://*.qingting.fm/*
// @exclude *://*.tingbook.com/*
// @exclude *://*.zhihu.com/*
// @exclude *://*.nlc.cn/*
// @exclude *://*.docin.com/*
// @exclude *://*.storychina.cn/*
// @exclude *://*.duokan.com/*
// @exclude *://*.jianshu.com/*
// @exclude *://*.dangdang.com/*
// @exclude *://*.migu.cn/*
// @exclude *://*.amazon.cn/*
// @exclude *://*.newsmth.net/*
// @exclude *://*.voc.com.cn/*
// @exclude *://*.mop.com/*
// @exclude *://*.xici.net/*
// @exclude *://*.news.cn/*
// @exclude *://*.oneniceapp.com/*
// @exclude *://*.hupu.com/*
// @exclude *://*.taobao.com/*
// @exclude *://*.renren.com/*
// @exclude *://*.kaixin001.com/*
// @exclude *://*.muyewx.com/*
// @exclude *://*.renhe.cn/*
// @exclude *://*.blogchina.com/*
// @exclude *://*.trueme.net/*
// @exclude *://*.bokee.com/*
// @exclude *://*.hexun.com/*
// @exclude *://*.cnblogs.com/*
// @exclude *://*.cnstock.com/*
// @exclude *://*.eastmoney.com/*
// @exclude *://*.lofter.com/*
// @exclude *://*.baike.com/*
// @exclude *://*.duitang.com/*
// @exclude *://*.guokr.com/*
// @exclude *://*.360doc.com/*
// @exclude *://*.qiushibaike.com/*
// @exclude *://*.paidai.com/*
// @exclude *://*.hualongxiang.com/*
// @exclude *://*.rednet.cn/*
// @exclude *://*.xmfish.com/*
// @exclude *://*.liba.com/*
// @exclude *://*.hefei.cc/*
// @exclude *://*.cnnb.com/*
// @exclude *://*.qingdaonews.com/*
// @exclude *://*.taihe.com/*
// @exclude *://*.kuwo.cn/*
// @exclude *://*.1ting.com/*
// @exclude *://*.9ku.com/*
// @exclude *://*.9sky.com/*
// @exclude *://*.yue365.com/*
// @exclude *://*.xiami.com/*
// @exclude *://*.vvvdj.com/*
// @exclude *://*.5ydj.com/*
// @exclude *://*.dj97.com/*
// @exclude *://*.ik123.com/*
// @exclude *://*.djye.com/*
// @exclude *://*.y2002.com/*
// @exclude *://*.yinyuetai.com/*
// @exclude *://*.letv.com/*
// @exclude *://*.guqu.net/*
// @exclude *://*.changba.com/*
// @exclude *://*.a8.com/*
// @exclude *://*.mvbox.cn/*
// @exclude *://*.tan8.com/*
// @exclude *://*.musicool.cn/*
// @exclude *://*.ccshao.com/*
// @exclude *://*.besgold.com/*
// @exclude *://*.moofeel.com/*
// @exclude *://*.douban.fm/*
// @exclude *://*.kaolafm.com/*
// @exclude *://*.zol.com.cn/*
// @exclude *://*.pconline.com.cn/*
// @exclude *://*.pcpop.com/*
// @exclude *://*.imobile.com.cn/*
// @exclude *://*.cnmo.com/*
// @exclude *://*.it168.com/*
// @exclude *://*.gfan.com/*
// @exclude *://*.feng.com/*
// @exclude *://*.xiaomi.cn/*
// @exclude *://*.ip138.com/*
// @exclude *://*.10086.cn/*
// @exclude *://*.10010.com/*
// @exclude *://*.win001.com.cn/*
// @exclude *://*.qimao.com/*
// @exclude *://*.ciweimao.com/*
// @exclude *://*.sina.cn/*
// @exclude *://*.zhangyue.com/*
// @exclude *://*.shuqi.com/*
// @exclude *://*.tadu.com/*
// @exclude *://*.luochu.com/*
// @exclude *://*.360.cn/*
// @exclude *://*.qwsy.com/*
// @exclude *://*.cmread.com/*
// @exclude *://*.ruochu.com/*
// @exclude *://*.luochen.com/*
// @exclude *://*.3g.cn/*
// @exclude *://*.shucong.com/*
// @exclude *://*.qrxs.cn/*
// @exclude *://*.10000read.com/*
// @exclude *://*.tiandizw.com/*
// @exclude *://*.qingoo.cn/*
// @exclude *://*.zhangwen.cn/*
// @exclude *://*.xmkanshu.com/*
// @exclude *://*.hnquxing.com/*
// @exclude *://*.51changdu.cn/*
// @exclude *://*.mingqingxiaoshuo.com/*
// @exclude *://*.china.com.cn/*
// @exclude *://*.jcrb.com/*
// @exclude *://*.cfi.cn/*
// @exclude *://*.cyol.com/*
// @exclude *://*.chnews.net/*
// @exclude *://*.cngold.org/*
// @exclude *://*.anhuinews.cc/*
// @exclude *://*.huxiu.com/*
// @exclude *://*.winshang.com/*
// @exclude *://*.eastday.com/*
// @exclude *://*.leju.com/*
// @exclude *://*.10jqka.com.cn/*
// @exclude *://*.fx678.com/*
// @exclude *://*.m.fun.tv/*
// @exclude *://*.acfun.cn/*
// @exclude *://*.znds.com/*
// @exclude *://*.km.com/*
// @exclude *://*.huajiao.com/*
// @exclude *://*.zhibo8.cc/*
// @exclude *://*.kanman.com/*
// @exclude *://*.dongmanmanhua.cn/*
// @exclude *://*.mkzhan.com/*
// @exclude *://*.manhuatai.com/*
// @exclude *://*.kuaikanmanhua.com/*
// @exclude *://*.dm5.com/*
// @exclude *://*.iyouman.com/*
// @exclude *://*.manhuadao.cn/*
// @exclude *://*.shenmantang.com/*
// @exclude *://*.manmanapp.com/*
// @exclude *://*.kumanhua.net/*
// @exclude *://*.xinmanhua.net/*
// @exclude *://*.bymanhua.com/*
// @exclude *://*.kaimanhua.com/*
// @exclude *://*.isamanhua.com/*
// @exclude *://*.sfacg.com/*
// @exclude *://*.myfcomic.com/*
// @exclude *://*.shenglifubang.cn/*
// @exclude *://*.soudongman.com/*
// @exclude *://*.qiremanhua.com/*
// @exclude *://*.buka.cn/*
// @exclude *://*.taomanhua.com/*
// @exclude *://*.yizhikan.com/*
// @exclude *://*.zymk.cn/*
// @exclude *://*.chjak.cn/*
// @exclude *://*.ixigua.com/*
// @exclude *://*.diyidan.com/*
// @exclude *://*.1kkk.com/*
// @exclude *://*.4399dmw.com/*
// @exclude *://*.manmankan.com/*
// @exclude *://*.17173.com/*
// @exclude *://*.78dm.net/*
// @exclude *://*.manben.com/*
// @exclude *://*.gdtv.cn/*
// @exclude *://*.m1905.com/*
// @exclude *://*.lcread.com/*
// @exclude *://*.sxcnw.net/*
// @exclude *://*.lingyun5.com/*
// @exclude *://*.laikan.com/*
// @exclude *://*.ihuaben.com/*
// @exclude *://*.4yt.net/*
// @exclude *://*.bayueju.com/*
// @exclude *://*.zuitang.com/*
// @exclude *://*.iyunyue.com/*
// @exclude *://*.fbook.net/*
// @exclude *://*.so.com/*
// @exclude *://*.nipic.com/*
// @exclude *://*.npc.gov.cn/*
// @exclude *://*.ltaaa.com/*
// @exclude *://*.zuowen.com/*
// @exclude *://*.rain8.com/*
// @exclude *://*.pingshu8.com/*
// @exclude *://*.yymp3.com/*
// @exclude *://*.5nd.com/*
// @exclude *://*.mtv123.com/*
// @exclude *://*.yy8844.cn/*
// @exclude *://*.djkk.com/*
// @exclude *://*.ce.cn/*
// @exclude *://*.cac.gov.cn/*
// @exclude *://*.chinanews.com.cn/*
// @exclude *://*.dayoo.com/*
// @exclude *://*.shenchuang.com/*
// @exclude *://*.cqwb.com.cn/*
// @exclude *://*.sznews.com/*
// @exclude *://*.zjol.com.cn/*
// @exclude *://*.sh.cn/*
// @exclude *://*.xilu.com/*
// @exclude *://*.miercn.com/*
// @exclude *://*.nba.com/*
// @exclude *://*.yicai.com/*
// @exclude *://*.caixin.com/*
// @exclude *://*.zgjrjw.com/*
// @exclude *://*.eeo.com.cn/*
// @exclude *://*.nbd.com.cn/*
// @exclude *://*.guandian.cn/*
// @exclude *://*.chinavalue.net/*
// @exclude *://*.chinaventure.com.cn/*
// @exclude *://*.ebusinessreview.cn/*
// @exclude *://*.iceo.com.cn/*
// @exclude *://*.jjckb.cn/*
// @exclude *://*.cb.com.cn/*
// @exclude *://*.dmkb.net/*
// @exclude *://*.iheima.com/*
// @exclude *://*.titan24.com/*
// @exclude *://*.sport.gov.cn/*
// @exclude *://*.cba.net.cn/*
// @exclude *://*.thecfa.cn/*
// @exclude *://*.lottery.gov.cn/*
// @exclude *://*.nowscore.com/*
// @exclude *://*.7m.cn/*
// @exclude *://*.leisu.com/*
// @exclude *://*.gooooal.com/*
// @grant       none
// @run-at       document-end
// @namespace https://greasyfork.org/users/452911
// ==/UserScript==

(function () {
  var g_times = 0,
    itids = [], timer;
  function myfun() {
    //清除计时器
setTimeout(function(){
let elements = document.querySelectorAll("[style$='important;'],p[class],ul *,UL,H2,[style^='display: block; z-index: '],body#read.read *,[style^='background-image: url('],[referrerpolicy],.adsbygoogle,[style='height: 125px;'],[style='height: 125.002px;'],[style^='display:block;left:0'],[class*='_'][id*='_'],[classname],[ontouchstar],[style='height:0px;'],[style$='display: block;'],[href][target='_blank'],[style*='background: url'],[style*='width: 100vw; top:'],[target='_blank'][style],[style*='width: 100%;'],ins,img[src],body.clearfix *,.adsbygoogle[referrerpolicy]");
for (let i = 0; i < elements.length; i++) {
  let element = elements[i];
  let zIndex = window.getComputedStyle(element).zIndex;
  if (zIndex > 600) {
    for (let i = 0; i < 50; i++) {
      if (itids.indexOf(i) == -1) {
        window.clearTimeout(i);
      }
    }
  }
}
 }, 400);
    //隐藏元素计时器
    itids.push(
      setTimeout(function () {
        var elements = document.querySelectorAll(
          "[style$='important;'],p[class],ul *,UL,H2,body.clearfix *,[style^='display: block; z-index: '],[style^='background-image: url('],body#read.read *,.adsbygoogle[referrerpolicy],[style='height: 125px;'],[style^='display:block;left:0'],[style='height: 125.002px;'],[classname],[ontouchstar],[style='height: 125px;'],[style='height: 125.002px;'],[style$='display: block;'],[class*='_'][id*='_'],[style='height:0px;'],[style*='background: url'],[style*='width: 100vw; top:']"
        );
        for (var i = 0; i < elements.length; i++) {
          var zIndex = parseInt(elements[i].style.zIndex);
          if (zIndex > 600) {
            elements[i].style.display = "none";
          }
        }
      }, 350)
    );
//缩放元素移出屏幕外
let elements = document.querySelectorAll("[style$='important;'],p[class],ul *,UL,H2,[style^='display: block; z-index: '],body#read.read *,[style^='background-image: url('],[referrerpolicy],.adsbygoogle,[style='height: 125px;'],[style='height: 125.002px;'],[style^='display:block;left:0'],[class*='_'][id*='_'],[classname],[ontouchstar],[style='height:0px;'],[style$='display: block;'],[href][target='_blank'],[style*='background: url'],[style*='width: 100vw; top:'],[target='_blank'][style],[style*='width: 100%;'],ins,img[src],body.clearfix *,.adsbygoogle[referrerpolicy]");
elements.forEach(element => {
    if (element.style.zIndex > 2000) {
        element.style.cssText = `z-index: -999999999999999; width: 0; height: 0; pointer-events: none; position: absolute; left: -9999px; top: -9999px;`;
        element.querySelectorAll('*').forEach(child => {
            child.style.pointerEvents = 'none';
        });
    }
});
//通用定时
window.setTimeout(removeads,500);
    if (g_times >= 5) {
      window.clearInterval(timer);
    }
    g_times++;
  }
  itids.push(
    setTimeout(function () {
      //主循环计时器
      timer = setInterval(myfun, 500);
      itids.push(timer);
      myfun();
    }, 500)
  );
})();
//通用元素
function removeads() {
let elements = document.querySelectorAll("[data-text-ad],A[href^='https://tv2356.cc'],div.container > div.t-img-box > A[href][target='_blank'],DIV[class$='_ad_wrap'],DIV[class^='ads_border_'],body > A[ontouchstart='this.click();'][href],div[id*='cat_'][id*='_ad'],IMG[alt^='kaiybet'],DIV.myui-content__acc[style='position: relative;padding: 0 10px'],[style^='bottom: 0px; width: 100%; height: 50vw; position: fixed; left: 0px; right: 0px; margin: 0px; background: url'],[href='/aga2/1661087'],[href^='http://jg.awaliwa.com/tg'],.player_pic_link > [src*='player.gif'],[data-url='http://xixi.stylar.hk/'],[href^='https://jincai.sohu.com/'],[href*='sohu.com/hy-op'],[href='/jump.html'],[href='/ad.html'],secion#ly LI[role='group'],secion#ly > H2,div.play_boxbg div[class$='_acmsd'],DIV.bot-per-context[data-width='728'][data-height='90'],DIV.fixed-bottom.d-block.d-sm-none.movies_ad,DIV.col-4.col-sm-2.col-xl-2.px-1.px-sm-2.pb-3.pt-3.pt-sm-0.d-block.d-sm-none,[href*='.lookxmh3'],[href='https://dpurl.cn/HifSTUtz'],[href^='openapp.jdmobile://virtual?params='],[href^='http://akmh069.vip'],[src^='https://ae01.alicdn.com/'][alt='歪歪漫画'],UL[style='margin: 0px; padding: 0px; font-size: 0px; display: flex;'],#topNavad,#bottomNavad,.ff-ads,.ssr1,[href='http://www.28cpw.com'],.ad_img,div.stui-pannel__bd > #t-img-box,P[style$='transparent !important; font-size: 0px !important; text-indent: -10000px !important; height: 125px !important;'],DIV[style^='width:100%;height:100%;line-height: 100%;overflow:hidden; margin:auto;border:1px #'],[src$='/dibu.adadadad'],.swiper-wrapper.leo-source-cho,.ayx[style='position: fixed;bottom: -10px;right:0;z-index:999;width:250px'],[href*='/entry/register/?i_code='],[style$='auto;text-align: center;line-height: initial;margin-bottom: 10px;margin-left: 20px;margin-right: 20px;'],[style$='both;margin: auto;text-align: center;line-height: initial;margin-bottom: 10px;'],DIV#mhbottom_ad_box,[href^='https://w5979.com:'],[href^='https://dc.vvsmse72'],oxk,SPAN[style$='font-size: 6vw; color:#fff; text-align: center; transform: rotate(-90deg);'],div.page.player > div.main > div.content > div.module.module-player > div.module-main > div.player-box > div.player-rm.rm-list > a > img,IMG[src*='/gg/'][src$='180.gif'][src*='800'],[href^='https://www.00285164.com'],[href^='https://97749516.com/'],[href^='https://www.00426740.com'],[href^='https://tz.kefuyuming.vip/'],[href^='https://record.brave108.com/'],[href^='https://gougew.lanzoub.com/'],[href='/ad/bfy.html'],[href='/my/gd.html'],#ad-header-mobile-contener,DIV.box-width.ec-ad.ec-ad-double.flex,#downapp1,[href^='https://www.qlspx.com:'],[href^='https://9996867.com'],[href='/ad/007.html'],#ad-index.position-relative,[src^='https://l.bt5v.com/v.php'],div.container > div.row div.yalayi_box,center > [href^='https://docs.qq.com/doc'][target='_blank'],A[href='/hth.html'],[alt='要恰饭的嘛'],img#hth[onclick^='window.open'],[onclick*='https://i.opiwb.com:'],[href='https://click.aliyun.com/m/1000332699/'],[src^='https://qwe0231141.bj.bcebos.com/'],DIV#ad-index.col-12.position-relative,.gr_slide_car_inner,.__isboostOverContent,IMG[referrerpolicy='no-referrer'][style='box-sizing: border-box;height:calc(10vh); width:100%;padding: 0px 15px 10px 15px;'],.C1U,.C1M,.C2L,.C2R,[src^='/Uploads/ad/'][src$='.gif'][alt='广告'],.ads,A[onclick$='()'][target='_top'][style*='.gif) no-repeat;background-size:100% 100%;'],body#nr_body.nr_all.c_nr > div[class] > DIV[style='height:90px;width:100%;'],IMG[src$='.dl'][style='width:100% !important;height:90px'][onclick],[src^='https://play.cdn6.buzz/js/'],[href^='http://www.hyd59.com/'],[href='https://www.aiwajbh.com/mh.php'],div#reader-scroll.acgn-reader-chapter.v>div>center>strong>button,.fed-part-advs.fed-text-center.fed-font-xvi,A[href^='http'][style^='display:block;left:0;right:0;position:fixed;border-left:'],#hongbao20201217,#whYuTlxF,#t4>a,[href^='https://kcc.qrjxween.com/cc/'],.zozoads,[src='http://m.guangzhoubingqing.com/88888.jpg'],#bl_mobile_float[style='height: 152px;'],#sOIcquIT,[src^='/MDassets/images/'],DIV.ec-ad.tim-box,DIV.box-width.ec-ad,[class^='chapter_'] > .baiduCenter,[href*='/?channelCode='] > [referrerpolicy='no-referrer'],[href^='http://mm.alameinv.com/'],[onclick='gourl()'][src^='/images/bfq/'],[href='http://li.hmwang.cc'],[href='https://blfanss.com'],.adsbygoogle,#coupletBox,.advertise,[href^='https://xcc.'][href*='cn/'],a.gggg[href^='https'],#adDisabledBtn,#Page-1[stroke='none'][fill='none'][fill-rule='evenodd'],#header_global_ad,DIV#bl_mobile_float,[href^='https://iluluweb.club'],[href='https://cai35b9.com/'],[href^='https://0414483.com/'],.width.imgs_1,[href^='https://jd.dangbei.com/'],[href^='https://dt.mydrivers.com/b.ashx'],.bottom-pic,.col-pd.mb10,.mi_btcon.ad,.fc_foot,[href^='https://fcc.hxaxfcc.cn/'],SPAN[style='position: fixed; bottom: 30vh; z-index: 2147483647; right: 0px; margin-right: 6vw; padding: 0px; text-decoration: none; background-color: red; width: 7vw; height: 7vw; border-radius: 7vw; font-size: 6vw; color: rgb(255, 255, 255); text-align: center; transform: rotate(-90deg);'],SPAN#qdSZ2,div[class^='is_'] > a > img[referrerpolicy='no-referrer'][src*='hdslb.com'],[alt='ACG里番'],[href='https://www.riqingxs.com/'],[alt='52bl'],[alt='西瓜社'],VIDEO[loop='true'][muted='true'][autoplay='true'][playsinline='true'][preload='auto'],[href^='https://lantianyong'],[href='http://ky53362.com/'],[href^='https://js.xiaobaofei.com'],[href^='https://tz.jingjiezhenkong.com'],[href^='http://j6597v.hjlego.com'],[href^='https://xxx.nunxun.com'],div.row.col5.clearfix:nth-of-type(2) > dl:nth-of-type(1),[at*='尼斯人注册送'],IMG[url][onclick='window.open(this.url)'][src$='.gif'][width='100%'],body.active > div.myui-panel > DIV#home_slide,IMG[referrerpolicy='no-referrer'][src$='.gif'][width='100%'],div.page.player > div.main > div.content > div.module.module-player DIV[style='width:100%;height:180px'],div.page.view > div.main > div.content > DIV[style='width:100%;height:100px'],div.homepage > div.main > div.content > DIV[style='width:100%;height:180px'],div.main div.content div[id].is_mb a[id] img[id],[src='/images/c_l.png'],A[href^='http://h5.shangjinssp.com/sjprom'][style='display:block;'],.clearfix > a > IMG[referrerpolicy='no-referrer'][src]:not([style='display: block;']),A[target='_blank'][href*='/auth/register?code='],[href='/my/dp.html'],A[href='http://88yd.cc/'],A[href='http://8hgpro.vip/'],A[href='http://95710.vip'],A[href^='http://www.kyty1119.com'],A[href='http://kkyty29.cc/'],[href*='.xacg.info/'],A[href^='https://chmjmff.com/'],div.container > IFRAME[align][width][src][border][height],A[href^='https://d1-dm.online/go/'],DIV.appdownload_ad,A[href^='https://yongle008.com'],DIV#bfad,A[href^='https://js.pico4pro.com'],IMG[alt='155.fun'],div#detail.selector-zero > div > DIV[style],DIV.ad-area.ad-area-fix-bottom,div.ad-area > [href],center > a > IMG[alt$='到期'],body#nr_body font > [id],IMG.cupfox[src$='gif'],[href^='https://luodi.aitaokeji.top/'],[poster^='https://dingbu.bj.bcebos.com/'],[src^='https://dingbu.bj.bcebos.com/'],IMG[onclick='golh()'][src$='.gif'],div.callApp_fl_btn.an,#ad-1,#ad-2,#ad-3,#ad-4,#ad-5,#ad-6,#ad-7,[src='https://pnm.hpvitycz.cn/00.jpg'],#mobile-index > div[id^='ins'],#mobile-index > div#vodbm,[onclick*='www.l4lui.com'],.col-12.position-relative>b,.theme-dark > .ayx > a,A[href='http://x5123.cc/'],a > IMG[src$='.gif'][wapsrc][style^='width: 100%'],a > I.gg-icon,ul > li > A[href$='_list.html'],div.bf_qy DIV.copy_div_btn,DIV#advertisings.advertising,A[href^='http://cszb420.tinawd81.com/'],ul.content-list > li.content-tb,div.video-box > div.hf > a,body > h1 > strong > title > a,UL.myui-extra.clearfix,A[href^='https://www.nonstopclub.xyz'],A[href^='https://js.iconiclee.com'],[alt='ad'],DIV.stui-player.clearfix > [id*='ad'],div.stui-pannel > [id*='ad'],div.container > [id*='ad'],div.container > DIV.t-img-box,A[href='/?'][target='_blank'],DIV#video-player-ads-wrap,div.flex-1.order-first > DIV.under_player,DIV[style*='.xyz/gif/'],DIV.module-adslist,DIV.JS_mid_ad,IFRAME[src^='https://mydisplay.ctfile.com/popview.php'],div[id$='ad1'][class^='text'],div[id$='ad2'][class^='text'],div[id$='ad3'][class^='text'],div[id$='ad4'][class^='text'],div[id$='ad5'][class^='text'],div[id$='ad6'][class^='text'],span > A[href='###'],IMG[style='width: 100%;'][src^='https://ad.'],A[href='http://k023055.com'],DIV#bannerCtrl.source_container.swiper-wrapper,IMG[src*='.xyz/tupian/'][src$='/h5.gif'],[href^='https://65564535.com'],div.ad-frame-container,iframe.ad-frame,body > [id][style*='width:100%'][style*='min-height:120px'],DIV.col-lg-3.col-md-3.col-sm-4.col-12.item.p-0.px-1,DIV#links.links.my-1.row[style='font-size:20px'],[class$='_main_outstream'][style='right: 0px;'],DIV#div1.div-relative[style='display:block;'],[href^='https://analytics.woozooo.com/jump.php?url='],[href^='https://ccs.holor0803.cn'],[href$='/ads.aspx'],[href^='https://mtyshi.com/'],A[href*='.com:'][target='_blank'] > IMG[src][width='100%'][height='60px'],A[href][target='_blank'] > IMG[src$='.gif'][width='100%'][height='60px'],A[href][target='_blank'] > IMG[src$='.gif'][width='100%'][height='120px'],div#h2_player_prevideo > A[href][target='_blank'],[style^='position: fixed; bottom: 30vh; z-index: 2147483647; right: 0px; margin-right: 6vw;'],EM[style='width: 80px; height: 125px;'],A[style='width: 400px; height: 31px;'],DIV[style*='background: url('][style*='width: 100%;'][style*='.gif'][style*='width: 100%;'],h3:has(strong > em),[style^='display: block; z-index: 2147483646; '],IMG[src='/js/a_d/pic1.png'],IFRAME#google_esf,[style$='font-size: 6vw; color: rgb(255, 255, 255); text-align: center; transform: rotate(-90deg);'],[style='position: absolute; width: 100%; height: 200px; top: 0px;'],FOOT[style$='2147483647; position: fixed !important;'],A[target='_blank'] > IMG[src*='.gif'],[target='_blank'][style='height: 125px;'],IMG[src='/good7.gif'],DIV[style*='top: '][style*='display: block;'],[style='height: 125px;'] [src*='data:image/png']");
    elements.forEach(element => {
        element.style.display = 'none';
        element.style.visibility = 'hidden';
        element.style.opacity = '0';
        element.style.zIndex = '-999';
        element.style.width = '0';
        element.style.height = '0';
        element.style.pointerEvents = 'none';
        element.style.position = 'absolute';
        element.style.left = '-9999px';
        element.style.top = '-9999px';
    });
}
removeads();