Greasy Fork is available in English.

加多重buff的广告拦截脚本

去广告脚本,可能有误杀,可以在脚本菜单禁用当前域名拦截

  1. // ==UserScript==
  2. // @name 加多重buff的广告拦截脚本
  3. // @author ChatGPT
  4. // @description 去广告脚本,可能有误杀,可以在脚本菜单禁用当前域名拦截
  5. // @version 12.2
  6. // @grant GM_registerMenuCommand
  7. // @grant GM_setValue
  8. // @grant GM_getValue
  9. // @grant GM_addStyle
  10. // @match *://*/*
  11. // @exclude *://www.colamanhua.com/*
  12. // @exclude *://*.bing.com/*
  13. // @exclude *://*.iqiyi.com/*
  14. // @exclude *://*.qq.com/*
  15. // @exclude *://*.v.qq.com/*
  16. // @exclude *://*.sohu.com/*
  17. // @exclude *://*.mgtv.com/*
  18. // @exclude *://*.ifeng.com/*
  19. // @exclude *://*.pptv.com/*
  20. // @exclude *://*.sina.com.cn/*
  21. // @exclude *://*.56.com/*
  22. // @exclude *://*.cntv.cn/*
  23. // @exclude *://*.tudou.com/*
  24. // @exclude *://*.baofeng.com/*
  25. // @exclude *://*.le.com/*
  26. // @exclude *://*.pps.tv/*
  27. // @exclude *://*.www.fun.tv/*
  28. // @exclude *://*.baidu.com/*
  29. // @exclude *://*.meipai.com/*
  30. // @exclude *://*.ku6.com/*
  31. // @exclude *://*.v1.cn/*
  32. // @exclude *://*.baomihua.com/*
  33. // @exclude *://*.wasu.cn/*
  34. // @exclude *://*.aipai.com/*
  35. // @exclude *://*.tvsou.com/*
  36. // @exclude *://*.6.cn/*
  37. // @exclude *://*.zhiyin.cn/*
  38. // @exclude *://*.1905.com/*
  39. // @exclude *://*.kankan.com/*
  40. // @exclude *://*.douyu.com/*
  41. // @exclude *://*.huya.com/*
  42. // @exclude *://*.longzhu.com/*
  43. // @exclude *://*.yy.com/*
  44. // @exclude *://*.hao123.com/*
  45. // @exclude *://*.kugou.com/*
  46. // @exclude *://*.9xiu.com/*
  47. // @exclude *://*.huomao.com/*
  48. // @exclude *://*.yizhibo.com/*
  49. // @exclude *://*.weibo.com/*
  50. // @exclude *://*.vmovier.com/*
  51. // @exclude *://*.bale.cn/*
  52. // @exclude *://*.cuctv.com/*
  53. // @exclude *://*.people.com.cn/*
  54. // @exclude *://*.cctv.com/*
  55. // @exclude *://*.jstv.com/*
  56. // @exclude *://*.brtn.cn/*
  57. // @exclude *://*.zjstv.com/*
  58. // @exclude *://*.iqilu.com/*
  59. // @exclude *://*.gdtv.com.cn/*
  60. // @exclude *://*.ahtv.cn/*
  61. // @exclude *://*.tvb.com/*
  62. // @exclude *://*.tvmao.com/*
  63. // @exclude *://*.douban.com/*
  64. // @exclude *://*.mtime.com/*
  65. // @exclude *://*.163.com/*
  66. // @exclude *://*.bilibili.com/*
  67. // @exclude *://*.www.gov.cn/*
  68. // @exclude *://*.kumi.cn/*
  69. // @exclude *://*.61.com/*
  70. // @exclude *://*.u17.com/*
  71. // @exclude *://*.stnn.cc/*
  72. // @exclude *://*.huanqiu.com/*
  73. // @exclude *://*.cankaoxiaoxi.com/*
  74. // @exclude *://*.takungpao.com/*
  75. // @exclude *://*.thepaper.cn/*
  76. // @exclude *://*.xinhuanet.com/*
  77. // @exclude *://*.chinanews.com/*
  78. // @exclude *://*.southcn.com/*
  79. // @exclude *://*.wenming.cn/*
  80. // @exclude *://*.81.cn/*
  81. // @exclude *://*.china.com/*
  82. // @exclude *://*.cnr.cn/*
  83. // @exclude *://*.cri.cn/*
  84. // @exclude *://*.youth.cn/*
  85. // @exclude *://*.71.cn/*
  86. // @exclude *://*.qdaily.com/*
  87. // @exclude *://*.k618.cn/*
  88. // @exclude *://*.infzm.com/*
  89. // @exclude *://*.legaldaily.com.cn/*
  90. // @exclude *://*.cyol.net/*
  91. // @exclude *://*.bjnews.com.cn/*
  92. // @exclude *://*.wenweipo.com/*
  93. // @exclude *://*.12371.cn/*
  94. // @exclude *://*.gmw.cn/*
  95. // @exclude *://*.hsw.cn/*
  96. // @exclude *://*.dahe.cn/*
  97. // @exclude *://*.nfcmag.com/*
  98. // @exclude *://*.chinadaily.com.cn/*
  99. // @exclude *://*.gxnews.com.cn/*
  100. // @exclude *://*.xfrb.com.cn/*
  101. // @exclude *://*.ycwb.com/*
  102. // @exclude *://*.sxrb.com/*
  103. // @exclude *://*.dbw.cn/*
  104. // @exclude *://*.fjsen.com/*
  105. // @exclude *://*.dzwww.com/*
  106. // @exclude *://*.cnhubei.com/*
  107. // @exclude *://*.oeeee.com/*
  108. // @exclude *://*.cqnews.net/*
  109. // @exclude *://*.inewsweek.cn/*
  110. // @exclude *://*.yangtse.com/*
  111. // @exclude *://*.lifeweek.com.cn/*
  112. // @exclude *://*.kankanews.com/*
  113. // @exclude *://*.cpd.com.cn/*
  114. // @exclude *://*.haiwainet.cn/*
  115. // @exclude *://*.banyuetan.org/*
  116. // @exclude *://*.cnautonews.com/*
  117. // @exclude *://*.yidianzixun.com/*
  118. // @exclude *://*.sinovision.net/*
  119. // @exclude *://*.un.org/*
  120. // @exclude *://*.cnn.com/*
  121. // @exclude *://*.tianya.cn/*
  122. // @exclude *://*.crntt.com/*
  123. // @exclude *://*.tiexue.net/*
  124. // @exclude *://*.kdnet.net/*
  125. // @exclude *://*.m4.cn/*
  126. // @exclude *://*.ifengweekly.com/*
  127. // @exclude *://*.guancha.cn/*
  128. // @exclude *://*.aisixiang.com/*
  129. // @exclude *://*.qidian.com/*
  130. // @exclude *://*.faloo.com/*
  131. // @exclude *://*.readnovel.com/*
  132. // @exclude *://*.hongxiu.com/*
  133. // @exclude *://*.xxsy.net/*
  134. // @exclude *://*.fmx.cn/*
  135. // @exclude *://*.xs8.cn/*
  136. // @exclude *://*.jjwxc.net/*
  137. // @exclude *://*.zongheng.com/*
  138. // @exclude *://*.kanshu.com/*
  139. // @exclude *://*.zhulang.com/*
  140. // @exclude *://*.19lou.com/*
  141. // @exclude *://*.17k.com/*
  142. // @exclude *://*.3gsc.com.cn/*
  143. // @exclude *://*.heiyan.com/*
  144. // @exclude *://*.qdmm.com/*
  145. // @exclude *://*.hongshu.com/*
  146. // @exclude *://*.motie.com/*
  147. // @exclude *://*.kujiang.com/*
  148. // @exclude *://*.shuhai.com/*
  149. // @exclude *://*.xiang5.com/*
  150. // @exclude *://*.hbooker.com/*
  151. // @exclude *://*.lkong.net/*
  152. // @exclude *://*.txtbook.com.cn/*
  153. // @exclude *://*.ximalaya.com/*
  154. // @exclude *://*.lrts.me/*
  155. // @exclude *://*.qingting.fm/*
  156. // @exclude *://*.tingbook.com/*
  157. // @exclude *://*.zhihu.com/*
  158. // @exclude *://*.nlc.cn/*
  159. // @exclude *://*.docin.com/*
  160. // @exclude *://*.storychina.cn/*
  161. // @exclude *://*.duokan.com/*
  162. // @exclude *://*.jianshu.com/*
  163. // @exclude *://*.dangdang.com/*
  164. // @exclude *://*.migu.cn/*
  165. // @exclude *://*.amazon.cn/*
  166. // @exclude *://*.newsmth.net/*
  167. // @exclude *://*.voc.com.cn/*
  168. // @exclude *://*.mop.com/*
  169. // @exclude *://*.xici.net/*
  170. // @exclude *://*.news.cn/*
  171. // @exclude *://*.oneniceapp.com/*
  172. // @exclude *://*.hupu.com/*
  173. // @exclude *://*.taobao.com/*
  174. // @exclude *://*.renren.com/*
  175. // @exclude *://*.kaixin001.com/*
  176. // @exclude *://*.muyewx.com/*
  177. // @exclude *://*.renhe.cn/*
  178. // @exclude *://*.blogchina.com/*
  179. // @exclude *://*.trueme.net/*
  180. // @exclude *://*.bokee.com/*
  181. // @exclude *://*.hexun.com/*
  182. // @exclude *://*.cnblogs.com/*
  183. // @exclude *://*.cnstock.com/*
  184. // @exclude *://*.eastmoney.com/*
  185. // @exclude *://*.lofter.com/*
  186. // @exclude *://*.baike.com/*
  187. // @exclude *://*.duitang.com/*
  188. // @exclude *://*.guokr.com/*
  189. // @exclude *://*.360doc.com/*
  190. // @exclude *://*.qiushibaike.com/*
  191. // @exclude *://*.paidai.com/*
  192. // @exclude *://*.hualongxiang.com/*
  193. // @exclude *://*.rednet.cn/*
  194. // @exclude *://*.xmfish.com/*
  195. // @exclude *://*.liba.com/*
  196. // @exclude *://*.hefei.cc/*
  197. // @exclude *://*.cnnb.com/*
  198. // @exclude *://*.qingdaonews.com/*
  199. // @exclude *://*.taihe.com/*
  200. // @exclude *://*.kuwo.cn/*
  201. // @exclude *://*.1ting.com/*
  202. // @exclude *://*.9ku.com/*
  203. // @exclude *://*.9sky.com/*
  204. // @exclude *://*.yue365.com/*
  205. // @exclude *://*.xiami.com/*
  206. // @exclude *://*.vvvdj.com/*
  207. // @exclude *://*.5ydj.com/*
  208. // @exclude *://*.dj97.com/*
  209. // @exclude *://*.ik123.com/*
  210. // @exclude *://*.djye.com/*
  211. // @exclude *://*.y2002.com/*
  212. // @exclude *://*.yinyuetai.com/*
  213. // @exclude *://*.letv.com/*
  214. // @exclude *://*.guqu.net/*
  215. // @exclude *://*.changba.com/*
  216. // @exclude *://*.a8.com/*
  217. // @exclude *://*.mvbox.cn/*
  218. // @exclude *://*.tan8.com/*
  219. // @exclude *://*.musicool.cn/*
  220. // @exclude *://*.ccshao.com/*
  221. // @exclude *://*.besgold.com/*
  222. // @exclude *://*.moofeel.com/*
  223. // @exclude *://*.douban.fm/*
  224. // @exclude *://*.kaolafm.com/*
  225. // @exclude *://*.zol.com.cn/*
  226. // @exclude *://*.pconline.com.cn/*
  227. // @exclude *://*.pcpop.com/*
  228. // @exclude *://*.imobile.com.cn/*
  229. // @exclude *://*.cnmo.com/*
  230. // @exclude *://*.it168.com/*
  231. // @exclude *://*.gfan.com/*
  232. // @exclude *://*.feng.com/*
  233. // @exclude *://*.xiaomi.cn/*
  234. // @exclude *://*.ip138.com/*
  235. // @exclude *://*.10086.cn/*
  236. // @exclude *://*.10010.com/*
  237. // @exclude *://*.win001.com.cn/*
  238. // @exclude *://*.qimao.com/*
  239. // @exclude *://*.ciweimao.com/*
  240. // @exclude *://*.sina.cn/*
  241. // @exclude *://*.zhangyue.com/*
  242. // @exclude *://*.shuqi.com/*
  243. // @exclude *://*.tadu.com/*
  244. // @exclude *://*.luochu.com/*
  245. // @exclude *://*.360.cn/*
  246. // @exclude *://*.qwsy.com/*
  247. // @exclude *://*.cmread.com/*
  248. // @exclude *://*.ruochu.com/*
  249. // @exclude *://*.luochen.com/*
  250. // @exclude *://*.3g.cn/*
  251. // @exclude *://*.shucong.com/*
  252. // @exclude *://*.qrxs.cn/*
  253. // @exclude *://*.10000read.com/*
  254. // @exclude *://*.tiandizw.com/*
  255. // @exclude *://*.qingoo.cn/*
  256. // @exclude *://*.zhangwen.cn/*
  257. // @exclude *://*.xmkanshu.com/*
  258. // @exclude *://*.hnquxing.com/*
  259. // @exclude *://*.51changdu.cn/*
  260. // @exclude *://*.mingqingxiaoshuo.com/*
  261. // @exclude *://*.china.com.cn/*
  262. // @exclude *://*.jcrb.com/*
  263. // @exclude *://*.cfi.cn/*
  264. // @exclude *://*.cyol.com/*
  265. // @exclude *://*.chnews.net/*
  266. // @exclude *://*.cngold.org/*
  267. // @exclude *://*.anhuinews.cc/*
  268. // @exclude *://*.huxiu.com/*
  269. // @exclude *://*.winshang.com/*
  270. // @exclude *://*.eastday.com/*
  271. // @exclude *://*.leju.com/*
  272. // @exclude *://*.10jqka.com.cn/*
  273. // @exclude *://*.fx678.com/*
  274. // @exclude *://*.m.fun.tv/*
  275. // @exclude *://*.acfun.cn/*
  276. // @exclude *://*.znds.com/*
  277. // @exclude *://*.km.com/*
  278. // @exclude *://*.huajiao.com/*
  279. // @exclude *://*.zhibo8.cc/*
  280. // @exclude *://*.kanman.com/*
  281. // @exclude *://*.dongmanmanhua.cn/*
  282. // @exclude *://*.mkzhan.com/*
  283. // @exclude *://*.manhuatai.com/*
  284. // @exclude *://*.kuaikanmanhua.com/*
  285. // @exclude *://*.dm5.com/*
  286. // @exclude *://*.iyouman.com/*
  287. // @exclude *://*.manhuadao.cn/*
  288. // @exclude *://*.shenmantang.com/*
  289. // @exclude *://*.manmanapp.com/*
  290. // @exclude *://*.kumanhua.net/*
  291. // @exclude *://*.xinmanhua.net/*
  292. // @exclude *://*.bymanhua.com/*
  293. // @exclude *://*.kaimanhua.com/*
  294. // @exclude *://*.isamanhua.com/*
  295. // @exclude *://*.sfacg.com/*
  296. // @exclude *://*.myfcomic.com/*
  297. // @exclude *://*.shenglifubang.cn/*
  298. // @exclude *://*.soudongman.com/*
  299. // @exclude *://*.qiremanhua.com/*
  300. // @exclude *://*.buka.cn/*
  301. // @exclude *://*.taomanhua.com/*
  302. // @exclude *://*.yizhikan.com/*
  303. // @exclude *://*.zymk.cn/*
  304. // @exclude *://*.chjak.cn/*
  305. // @exclude *://*.ixigua.com/*
  306. // @exclude *://*.diyidan.com/*
  307. // @exclude *://*.1kkk.com/*
  308. // @exclude *://*.4399dmw.com/*
  309. // @exclude *://*.manmankan.com/*
  310. // @exclude *://*.17173.com/*
  311. // @exclude *://*.78dm.net/*
  312. // @exclude *://*.manben.com/*
  313. // @exclude *://*.gdtv.cn/*
  314. // @exclude *://*.m1905.com/*
  315. // @exclude *://*.lcread.com/*
  316. // @exclude *://*.sxcnw.net/*
  317. // @exclude *://*.lingyun5.com/*
  318. // @exclude *://*.laikan.com/*
  319. // @exclude *://*.ihuaben.com/*
  320. // @exclude *://*.4yt.net/*
  321. // @exclude *://*.bayueju.com/*
  322. // @exclude *://*.zuitang.com/*
  323. // @exclude *://*.iyunyue.com/*
  324. // @exclude *://*.fbook.net/*
  325. // @exclude *://*.so.com/*
  326. // @exclude *://*.nipic.com/*
  327. // @exclude *://*.npc.gov.cn/*
  328. // @exclude *://*.ltaaa.com/*
  329. // @exclude *://*.zuowen.com/*
  330. // @exclude *://*.rain8.com/*
  331. // @exclude *://*.pingshu8.com/*
  332. // @exclude *://*.yymp3.com/*
  333. // @exclude *://*.5nd.com/*
  334. // @exclude *://*.mtv123.com/*
  335. // @exclude *://*.yy8844.cn/*
  336. // @exclude *://*.djkk.com/*
  337. // @exclude *://*.ce.cn/*
  338. // @exclude *://*.cac.gov.cn/*
  339. // @exclude *://*.chinanews.com.cn/*
  340. // @exclude *://*.dayoo.com/*
  341. // @exclude *://*.shenchuang.com/*
  342. // @exclude *://*.cqwb.com.cn/*
  343. // @exclude *://*.sznews.com/*
  344. // @exclude *://*.zjol.com.cn/*
  345. // @exclude *://*.sh.cn/*
  346. // @exclude *://*.xilu.com/*
  347. // @exclude *://*.miercn.com/*
  348. // @exclude *://*.nba.com/*
  349. // @exclude *://*.yicai.com/*
  350. // @exclude *://*.caixin.com/*
  351. // @exclude *://*.zgjrjw.com/*
  352. // @exclude *://*.eeo.com.cn/*
  353. // @exclude *://*.nbd.com.cn/*
  354. // @exclude *://*.guandian.cn/*
  355. // @exclude *://*.chinavalue.net/*
  356. // @exclude *://*.chinaventure.com.cn/*
  357. // @exclude *://*.ebusinessreview.cn/*
  358. // @exclude *://*.iceo.com.cn/*
  359. // @exclude *://*.jjckb.cn/*
  360. // @exclude *://*.cb.com.cn/*
  361. // @exclude *://*.dmkb.net/*
  362. // @exclude *://*.iheima.com/*
  363. // @exclude *://*.titan24.com/*
  364. // @exclude *://*.sport.gov.cn/*
  365. // @exclude *://*.cba.net.cn/*
  366. // @exclude *://*.thecfa.cn/*
  367. // @exclude *://*.lottery.gov.cn/*
  368. // @exclude *://*.nowscore.com/*
  369. // @exclude *://*.7m.cn/*
  370. // @exclude *://*.leisu.com/*
  371. // @exclude *://*.gooooal.com/*
  372. // @run-at document-start
  373. // @namespace https://greasyfork.org/users/452911
  374. // ==/UserScript==
  375.  
  376. (function() {
  377. 'use strict';
  378.  
  379. // 获取当前网站URL,并根据其生成一个唯一的存储键
  380. var storageKey = window.location.hostname;
  381.  
  382. // 根据存储键获取已保存的设置(如果存在)
  383. var isEnabled = GM_getValue(storageKey, true);
  384.  
  385. function showAlert() {
  386. (function() {
  387. var g_times = 0,
  388. itids = [],
  389. timer;
  390.  
  391. function myfun() {
  392. //隐藏元素
  393. itids.push(
  394. setTimeout(function() {
  395. var styleTag = document.createElement('style');
  396. styleTag.innerHTML = `
  397. .hidden-element {
  398. display: none !important;
  399. visibility: hidden;
  400. opacity: 0;
  401. z-index: -999;
  402. width: 0;
  403. height: 0;
  404. pointer-events: none;
  405. position: absolute;
  406. left: -9999px;
  407. top: -9999px;
  408. }
  409. `;
  410. document.head.appendChild(styleTag);
  411.  
  412. var elements = document.querySelectorAll("[style^='left'],[style^='visibility:visible;padding:0;margin:0;-webkit-appearance:none;position:absolute !important;left:0px;top:-'],[style*='background-size: 400px 127px !important;'],[style*='background-size: 470px 149px !important;'],[style*='position: fixed; left: 0px; transform: none; top: 0px; z-index: '],[style$='width:100vw;display:block;'],[style*='width: 100vw; position: fixed;'],[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;'],[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:']");
  413. for (var i = 0; i < elements.length; i++) {
  414. var zIndex = parseInt(elements[i].style.zIndex);
  415. if (zIndex > 600) {
  416. elements[i].classList.add('hidden-element');
  417. }
  418. }
  419. }, 350)
  420. );
  421.  
  422. if (g_times >= 6) {
  423. window.clearInterval(timer);
  424. }
  425. g_times++;
  426. }
  427. itids.push(
  428. setTimeout(function() {
  429. //主循环计时器
  430. timer = setInterval(myfun, 500);
  431. itids.push(timer);
  432. myfun();
  433. }, 500)
  434. );
  435. })();
  436. //通用规则
  437. // 假定的输入字符串,分为三部分
  438. const input1 = `##DIV[data-text-ad]
  439. ###bottom_ads.hl_bottom_ads
  440. ##A[href*='jialu6699h.vip']
  441. ##DIV.adj
  442. ##[style*='px; top: 0px; left: 0px; animation: 1.5s ease 0.2s infinite normal none running shakegwegs; z-index:']
  443. ##A[href*='youqu.buzz']
  444. ##A[href^='https://tv2356.cc']
  445. ##DIV[class$='_ad_wrap']
  446. ##DIV[class^='ads_border_']
  447. ##body > A[ontouchstart='this.click();'][href]
  448. ##div[id*='cat_'][id*='_ad']
  449. ##IMG[alt^='kaiybet']
  450. ##DIV.myui-content__acc[style='position: relative;padding: 0 10px']
  451. ##[style^='bottom: 0px; width: 100%; height: 50vw; position: fixed; left: 0px; right: 0px; margin: 0px; background: url("https://']
  452. ##[href='/aga2/1661087']
  453. ##[href^='http://jg.awaliwa.com/']
  454. ##.player_pic_link > [src*='/player.gif']
  455. ##div.close-player_pic[onclick="document.getElementById('player_pic').style.display='none'"]
  456. ##[href^='https://jincai.sohu.com/']
  457. ##[href*='sohu.com/hy-op']
  458. ##[href='/jump.html']
  459. ##[href='/ad.html']
  460. ##DIV._42701c0173
  461. ##DIV._4e544f1dde
  462. ##div.m0auto div.s_h,div.m0auto div.s_h + *
  463. ##secion#ly LI[role='group'],secion#ly > H2
  464. ##div.play_boxbg div[class$='_acmsd']
  465. ##DIV.bot-per-context[data-width='728'][data-height='90']
  466. ##DIV.fixed-bottom.d-block.d-sm-none.movies_ad
  467. ##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
  468. ##[href*='.lookxmh3']
  469. ##[href='https://dpurl.cn/HifSTUtz']
  470. ##[href^="openapp.jdmobile://virtual?params="]
  471. ##[onclick*="trackEvent', 'ad"]
  472. ##[src^='https://ae01.alicdn.com/'][alt='歪歪漫画']
  473. ##UL[style='margin: 0px; padding: 0px; font-size: 0px; display: flex;']
  474. ###topNavad
  475. ###bottomNavad
  476. ##.ff-ads
  477. ##.ssr1
  478. ##.ad_img
  479. ##body.conch-hasone section > span > video
  480. ##div.stui-pannel__bd > #t-img-box
  481. ##P[style$='transparent !important; font-size: 0px !important; text-indent: -10000px !important; height: 125px !important;']
  482. ##DIV[style^='width:100%;height:100%;line-height: 100%;overflow:hidden; margin:auto;border:1px #']
  483. ##[src$='/dibu.adadadad']
  484. ##.ayx[style="position: fixed;bottom: -10px;right:0;z-index:999;width:250px"]
  485. ##[href*="/entry/register/?i_code="]
  486. ##[style$='auto;text-align: center;line-height: initial;margin-bottom: 10px;margin-left: 20px;margin-right: 20px;']
  487. ##[style$="both;margin: auto;text-align: center;line-height: initial;margin-bottom: 10px;"]
  488. ##DIV#mhbottom_ad_box
  489. ##[href^='https://w5979.com:']
  490. ##[href^='https://dc.vvsmse72']
  491. ##oxk
  492. ##body > a[id*='hudie_']
  493. ##div.synopsisArea > a[id*='hudie_']
  494. ##div.recommend > a[id*='hudie_']
  495. ##div.poi-row a > IMG[width='100%'][height='auto'][src]
  496. ##div.row > div[id] > ul > li.cpn > a
  497. ##SPAN[style$='font-size: 6vw; color:#fff; text-align: center; transform: rotate(-90deg);']
  498. ##div.page.player > div.main > div.content > div.module.module-player > div.module-main > div.player-box > div.player-rm.rm-list > a > img
  499. ##IMG[src*='/gg/'][src$='180.gif'][src*='800']
  500. ##[onclick="window.open('http://682kg.com/')"]
  501. ##[href^='https://www.00285164.com']
  502. ##[href^='https://97749516.com/']
  503. ##[href^='https://www.00426740.com']
  504. ##[href^='https://tz.kefuyuming.vip/']
  505. ##[href^='https://gougew.lanzoub.com/']
  506. ##[href='/ad/bfy.html']
  507. ##[href='/my/gd.html']
  508. ##[style^="pointer-events: none;background-image:url('https://33789.qqqwww987.site"],[style^='z-index: 2147483647; height: 123px; ']
  509. ###ad-header-mobile-contener
  510. ###downapp1
  511. ##[data^='/banners/pr_advertising_ads_banner']
  512. ##[src^='/banners/pr_advertising_ads_banner']
  513. ##body > DIV[class][style='top: 132px;']
  514. ##body > DIV[style*='height: 33px'][style*='132px !important;']
  515. ##body > DIV[style='display: block; width: 100%; height: 132px;']
  516. ##[href^='https://www.qlspx.com:']
  517. ##[href^="https://9996867.com"]
  518. ##[href="/ad/007.html"]
  519. ###ad-index.position-relative
  520. ##[src^='https://l.bt5v.com/v.php']
  521. ##div.container > div.row div.yalayi_box
  522. ##center > [href^='https://docs.qq.com/doc'][target='_blank']
  523. ##A[href='/hth.html']
  524. ##[alt="要恰饭的嘛"]
  525. ##img#hth[onclick^="window.open"]
  526. ##[onclick*='https://i.opiwb.com:']
  527. ##[href='https://click.aliyun.com/m/1000332699/']
  528. ##[src^='https://qwe0231141.bj.bcebos.com/']
  529. ##.gr_slide_car_inner
  530. ##.__isboostOverContent
  531. ##IMG[referrerpolicy='no-referrer'][style='box-sizing: border-box;height:calc(10vh); width:100%;padding: 0px 15px 10px 15px;']
  532. ##.C1U,.C1M,.C2L,.C2R
  533. ##[src^='/Uploads/ad/'][src$='.gif'][alt='广告']
  534. ##img#hth[onclick$="hth.html')"]
  535. ##A[onclick$='()'][target='_top'][style*='.gif) no-repeat;background-size:100% 100%;']
  536. ##body#nr_body.nr_all.c_nr > div[class] > DIV[style='height:90px;width:100%;']
  537. ##IMG[src$='.dl'][style='width:100% !important;height:90px'][onclick]
  538. ##A[style='width: 100%;height: 150px;z-index:1000;position: absolute;display:block;top: 0px;'][onclick$=';this.style.display="none";']
  539. ##[src^='https://play.cdn6.buzz/js/']
  540. ##[href='https://www.aiwajbh.com/mh.php']
  541. ##div#reader-scroll.acgn-reader-chapter.v>div>center>strong>button
  542. ##[onclick^="window.location.href='https://apps.apple.com/cn/app/%E9%80%9F%E9%98%85%E5%B0%8F%E8%AF%B4"]
  543. ##.fed-part-advs.fed-text-center.fed-font-xvi
  544. ##A[href^='http'][style^='display:block;left:0;right:0;position:fixed;border-left:']
  545. ###hongbao20201217
  546. ###whYuTlxF
  547. ###t4>a
  548. ##[href^='https://kcc.qrjxween.com/cc/']
  549. ##.zozoads
  550. ##[src='http://m.guangzhoubingqing.com/88888.jpg']
  551. ###bl_mobile_float[style='height: 152px;']
  552. ###sOIcquIT
  553. ##[src^='/MDassets/images/']
  554. ##DIV.ec-ad.tim-box
  555. ##DIV.box-width.ec-ad
  556. ##[class^="chapter_"] > .baiduCenter
  557. ##[href*="/?channelCode="] > [referrerpolicy='no-referrer']
  558. ##[href^='http://mm.alameinv.com/']
  559. ##[onclick='gourl()'][src^='/images/bfq/']
  560. ##[onclick="window.open('https://docs.qq.com/doc/DZGtmWUxpamJGTnNY');"]
  561. ###coupletBox
  562. ##.advertise
  563. ##[href^='https://xcc.'][href*='cn/']
  564. ##a.gggg[href^="https"]
  565. ###adDisabledBtn
  566. ###Page-1[stroke='none'][fill='none'][fill-rule='evenodd']
  567. ###header_global_ad
  568. ##DIV#bl_mobile_float
  569. ##[href^='https://iluluweb.club']
  570. ##.width.imgs_1
  571. ##[href^='https://jd.dangbei.com/']
  572. ##[href^='https://dt.mydrivers.com/b.ashx']
  573. ##.bottom-pic,.col-pd.mb10
  574. ##.mi_btcon.ad
  575. ##.fc_foot
  576. ##SPAN#VuMk2.IgpuN2
  577. ##[href^='https://fcc.hxaxfcc.cn/']
  578. ##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:"]
  579. ##SPAN#qdSZ2
  580. ##div[class^="is_"] > a > img[referrerpolicy="no-referrer"][src*="hdslb.com"]
  581. ##[alt='ACG里番']
  582. ##[alt='52bl']
  583. ##[alt='西瓜社']
  584. ##VIDEO[loop='true'][muted='true'][autoplay='true'][playsinline='true'][preload='auto']
  585. ##[href^="https://lantianyong"]
  586. ##[href='http://ky53362.com/']
  587. ##[href^='https://js.xiaobaofei.com']
  588. ##[href^='https://tz.jingjiezhenkong.com']
  589. ##[href^='http://j6597v.hjlego.com']
  590. ##[href^='https://xxx.nunxun.com']
  591. ##div.row.col5.clearfix:nth-of-type(2) > dl:nth-of-type(1)
  592. ##[at*='尼斯人注册送']
  593. ##DIV.ads.ads_w
  594. ##body#nr_body a[href*="/?utm_source="]
  595. ##[style*='width:9.6vw;height:8.5vw;background:#000;opacity:0.01;']
  596. ##IMG[url][onclick='window.open(this.url)'][src$='.gif'][width='100%']
  597. ##body.active > div.myui-panel > DIV#home_slide
  598. ##IMG[referrerpolicy='no-referrer'][src$='.gif'][width='100%']
  599. ##div.page.player > div.main > div.content > div.module.module-player DIV[style='width:100%;height:180px']
  600. ##div.page.view > div.main > div.content > DIV[style='width:100%;height:100px']
  601. ##div.homepage > div.main > div.content > DIV[style='width:100%;height:180px']
  602. ##div.main div.content div[id].is_mb a[id] img[id]
  603. ##[src='/images/c_l.png']
  604. ##A[href^='http://h5.shangjinssp.com/sjprom'][style='display:block;']
  605. ##.clearfix > a > IMG[referrerpolicy='no-referrer'][src]:not([style='display: block;'])
  606. ##A[target='_blank'][href*='/auth/register?code=']
  607. ##[href='/my/dp.html']
  608. ##A[href='http://8hgpro.vip/']
  609. ##A[href='http://95710.vip']
  610. ##A[href^='http://www.kyty1119.com']
  611. ##A[href='http://kkyty29.cc/']
  612. ##[href*='.xacg.info/']
  613. ##[style='box-sizing: border-box; position: relative; left: 0px; z-index: 912944; text-indent: -10em;']
  614. ##body#nr_body.nr_all.c_nr > section[id]
  615. ##A[href^='https://chmjmff.com/']
  616. ##div.container > IFRAME[align][width][src][border][height]
  617. ##A[href^='https://d1-dm.online/go/']
  618. ##DIV.appdownload_ad
  619. ##A[href^='https://yongle008.com']
  620. ##DIV#bfad
  621. ##DIV.hidden-lg[style='position: absolute;bottom: 0px;z-index: 10;']
  622. ##A[href^='https://js.pico4pro.com']
  623. ##IMG[alt='155.fun']
  624. ##div#detail.selector-zero > div > DIV[style]
  625. ##DIV.ad-area.ad-area-fix-bottom
  626. ##div.ad-area > [href]
  627. ##center > a > IMG[alt$='到期']
  628. ##body#nr_body font > [id]
  629. ##IMG.cupfox[src$='gif']
  630. ##[href^='https://luodi.aitaokeji.top/']
  631. ##[poster^='https://dingbu.bj.bcebos.com/']
  632. ##[src^='https://dingbu.bj.bcebos.com/']
  633. ##IMG[onclick='golh()'][src$='.gif']
  634. ##div.callApp_fl_btn.an
  635. ###ad-1,#ad-2,#ad-3,#ad-4,#ad-5,#ad-6,#ad-7
  636. ##[src='https://pnm.hpvitycz.cn/00.jpg']
  637. ###mobile-index > div[id^="ins"]
  638. ###mobile-index > div#vodbm
  639. ##[onclick*='www.l4lui.com'],.col-12.position-relative>b
  640. ##.theme-dark > .ayx > a
  641. ##DIV.ad_js
  642. ##A[href='http://x5123.cc/']
  643. ##a > IMG[src$='.gif'][wapsrc][style^='width: 100%']
  644. ##a > I.gg-icon
  645. ##ul > li > A[href$='_list.html']
  646. ##div.bf_qy DIV.copy_div_btn
  647. ##DIV#advertisings.advertising
  648. ##A[href^='http://cszb420.tinawd81.com/']
  649. ##ul.content-list > li.content-tb
  650. ##div.video-box > div.hf > a
  651. ##body > h1 > strong > title > a
  652. ##UL.myui-extra.clearfix
  653. ##A[href^='https://www.nonstopclub.xyz']
  654. ##A[href^='https://js.iconiclee.com']
  655. ##[alt='ad']
  656. ##A[href*='zbkrv.com']
  657. ##div.container > DIV.t-img-box
  658. ##A[href='/?'][target='_blank']
  659. ##DIV#video-player-ads-wrap
  660. ##div.flex-1.order-first > DIV.under_player
  661. ##DIV[style*='.xyz/gif/']
  662. ##DIV.module-adslist
  663. ##DIV.JS_mid_ad
  664. ##IFRAME[src^='https://mydisplay.ctfile.com/popview.php']
  665. ##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']
  666. ##span > A[href='###']
  667. ##IMG[style='width: 100%;'][src^='https://ad.']
  668. ##A[href='http://k023055.com']
  669. ##DIV#bannerCtrl.source_container.swiper-wrapper
  670. ##IMG[src*='.xyz/tupian/'][src$='/h5.gif']
  671. ##[href^='https://65564535.com']
  672. ##div.ad-frame-container
  673. ##iframe.ad-frame
  674. ##DIV#tads
  675. ##body > DIV[class][style='top: 133px;']
  676. ##DIV[style*='display: block; width: 100%; left: 0px; position: fixed; z-index:'][style*='height: 25px; top: 133px;']
  677. ##body > DIV[style='display: block; width: 100%; height: 133px;']
  678. ##DIV[style*='height: 33.25px; top:'][style*='background-size: 400px 133px !important;']
  679. ##DIV.footer-appload.js-footer-appload
  680. ##BODY > DIV.ggcontainer
  681. ##body > DIV[class][style^='bottom: '][style$='vw; display: block;']
  682. ##body > [id][style*='width:100%'][style*='min-height:120px']
  683. ##DIV.col-lg-3.col-md-3.col-sm-4.col-12.item.p-0.px-1
  684. ##DIV#links.links.my-1.row[style='font-size:20px']
  685. ##[class$="_main_outstream"][style="right: 0px;"]
  686. ##DIV#div1.div-relative[style='display:block;']
  687. ##[href^='https://analytics.woozooo.com/jump.php?url=']
  688. ##[href^='https://ccs.holor0803.cn']
  689. ##[href$='/ads.aspx']
  690. ##div.post_list_ajax > A[target='_blank']
  691. ##body.bg_xin > A[href*='com:'][target='_blank']
  692. ##DIV.index_adpic
  693. ##[onclick*='pypyj.com']
  694. ##DIV.div_adhost
  695. ##DIV.stui-player__item.clearfix > img[url]
  696. ##[style*='width: 100% !important; margin: 0px !important; padding: 0px !important; display: flex !'] *
  697. ##[style='width:100%;height:auto;min-height:120px;position:relative;display:block;']
  698. ##div.row > DIV.md-r-panel
  699. ##A.toptxt[target='_blank']
  700. ##SPAN.closebox1,SPAN.closebox2,SPAN.closebox3,SPAN.closebox4
  701. ##A[target='_blank'] > IMG[width='100%'][src*='.gif']
  702. ##body.chapter > div.container div.slide-baidu *
  703. ##ASIDE[id^='custom_html-']
  704. ##DIV.code-block[style='margin: 8px 0; clear: both;']
  705. ##DIV[style^='position: fixed; bottom: 50%; z-index: 19999 !important; ']
  706. ##DIV[class*='id_ads__']
  707. ##DIV#recommend-float.player-recommend-float > a
  708. ##body.page.player > DIV.shortcuts-mobile-overlay
  709. ##body.page.player > div.popup.popup-tips.popup-icon.open
  710. ##div.player-rm.rm-two.rm-list > a
  711. ##A[href='/statics/js/ky-a.html']
  712. ##DIV[class*='home'][class*='Ads']
  713. ##div[class*='bookid_ads']
  714. ##div[id] > div[style*='z-index: 2147483647; width: 100vw; background: url']
  715. ##div#content.content div[id] > DIV[style*='z-index: 2147483647']
  716. ##div#apage.apage > div > ul > li > a
  717. ##div.module-list-right-title-wrap > div.normal-title-wrap > div > a
  718. ##div#beijing.article_content.layui-clear > div.left > div > a
  719. ##ul#page-list.layui-clear.page-wz > ul > li:not([class])
  720. ##body.no_overflow strong
  721. ##DIV[style='position: fixed; bottom: 0px; left: 0px; width: 100%; height: 5.85rem; z-index: 99999;']
  722. ##A[href*='//v.wanfumei.net']
  723. ##IMG[src='/js/imgs/taote.jpg']
  724. ###imgad
  725. ##IMG[src*='//img4.qv1.ru/data/game/']
  726. ##IMG[src*='/ds3/ssmh/']
  727. ##IMG[src='/adBanner']
  728. ##div.slide-baidu IMG[src='/images/aw1.gif']
  729. ##div#gmright
  730. ##[style='top: 0vw; display: block;']
  731. ##[style='top: 8.2vw; display: block;']
  732. ##[style='top: 16.4vw; display: block;']
  733. ##[style='top: 24.6vw; display: block;']
  734. ##DIV[style*='animation: 1s ease 0.2s infinite normal none running shakegwegs; z-index:'][style*='background: url']
  735. ##INS.adsbygoogle
  736. ##body#nr_body div.fixed ~ *
  737. ##[style='width: 100%; height: auto; position: fixed; left: 0px; top: 0px; z-index: 2147483647;']
  738. ##[style='width: 100%; height: 123.75px;']
  739. ##A[href*='/adjump/?']
  740. ##IMG[alt='五一特惠']
  741. ##[ad_dot_url]
  742. ##DIV#pos_nei_content
  743. ##[src*='zdmbl.xyz']
  744. ##I.fa.fa-close
  745. ##IMG#diads
  746. ##[style='display: block; width: 100%; left: 0px; position: fixed; z-index: 2147483646; height: 49px; bottom: 132px;']
  747. ##body.fed-min-width.website-read > [style='bottom: 132px;']
  748. ##center > div.hengfu
  749. ##DIV.ad-content
  750. ##div.layout-box a > IMG[src*='.gif']
  751. ##div.stui-player.col-pd DIV[style='text-align:center']
  752. ##div#hengfu_wap_vod_xia > a
  753. ##div.maomi-content A[href='/baidu/index.html']
  754. ##section > SPAN[style='display: block; clear: both; overflow: hidden;']
  755. ##[style^='position: fixed; bottom: 20%; z-index: 19999 !important; ']
  756. ##div.mobile > div.content IMG[src*='.gif']
  757. ##[style*='width: 100% !important; margin: 0px !important; padding: 0px !important; display: flex !']
  758. ##body#nr_body.nr_all.c_nr > div > div[id][class] > [href]
  759. ##[style='text-align: center; margin: 40px 0; color: blue; font-size: larger;']
  760. ##[style*='line-height: 115px; left: 0px; z-index: 0; width: 100vw; background: url']
  761. ##DIV[style='position: fixed; line-height: 100vh; width: 100vw; top: 0px; left: 0px;']
  762. ##[style='width: 100%;height:660px;z-index:2147483647;position:fixed;display:block;bottom:0px;']
  763. ##IMG[src^='http://socos.gitee.io/ss/poster'][alt][style='width: 100%;']
  764. ##IMG[src*='qmfcybwbf']
  765. ##[href*='.top/?token=']
  766. ##div.appad
  767. ##[src^="https://img.sobot.com/chatres/"][title="sb"]
  768. ##[style='z-index: 99999; text-indent: -10em;position: relative; left: 0px;box-sizing: border-box;']
  769. ##a[href^="/ad.html?url="]
  770. ##html.wap [style='left: 40%;']
  771. ##body > DIV[style='bottom: 130px;']
  772. ##[style^='position: fixed; z-index: 2147483616; width: 10%; height: 32.5px;']
  773. ##body#wrapper A[ontouchstart='this.click();']
  774. ##DIV.row.no-gutters.m-0
  775. ##DIV#top-ads
  776. ##[style*='width: 100vw; background: url'][style$='no-repeat; position: fixed;'][style*='0px 0px / 100vw ']
  777. ##A#floating-banner
  778. ##[style$='display:block;width:9.6vw;height:8.5vw;background: #000;opacity:0.01;']
  779. ##DIV.loc_banner.only-app
  780. ##div.swiper-slide > A[rel='nofollow noopenner']
  781. ##div#liveline > l,div#liveline > ll
  782. ##DIV.duilian[style*='z-index: 9999; top: 0px; ']
  783. ##div#header-wrapper.header_b > div#header
  784. ##a[href^="https://91keep.tv"]
  785. ##DIV#bottom-ads
  786. ##section.wrap > section.f0
  787. ##DIV#googleads-popup.popup.visible
  788. ##DIV[style='clear: both; position: relative; width: 396px; height: 130px;']
  789. ##[style*='display: block; width: 100%; left: 0px; position: fixed; z-index: 2147'][style*='bottom: 132px;']
  790. ##div#nr_body.nr_all.c_nr div.show-app2
  791. ##[style^='position: fixed; color: transparent; line-height: 100vh; width: 100vw; z-index: '][style*='; top: 0px; left: 0px;']
  792. ##a[href*=".com?s="]
  793. ##div.my-ad > a
  794. ##div#playlistbtn > A[href='/ht.html']
  795. ##INS[status='done'] A.external
  796. ##body > div#bottommob.bottommob
  797. ##DIV#xfb_lbox.zoomout_transition.zoomout
  798. ##A[href^='https://icrwt696.com']
  799. ##A[href^='https://k.izret.com']
  800. ##div.am-gallery-item > a
  801. ##div.poi-row IMG[width='950'][height='300'][style='max-width:100%;height:auto']
  802. ##div.inn-content-reseter > a > IMG[decoding='async'][loading='lazy']
  803. ##DIV[style*='!important; color: transparent !important; font-size: 0px !important; text-indent: -10000px !important; line-height: 0px !important; height: 150px !important;']
  804. ##div#page-back DIV.container.clearfix div > A > IMG[src]
  805. ##section.global_video_bottom_dbtc
  806. ##A[href^='https://www.ids20.co']
  807. ##A[href^='https://www.pcjx365.com']
  808. ##IMG[style='height:120px;width:100%;'][src*='/sucai/']
  809. ##DIV[style^='box-sizing: border-box; position: relative; left: 0px; z-index: 214748']
  810. ##A > IMG[alt][src*='resources/images/']
  811. ##A[rel='nofollow noopener'][href*='/game/xr/?attributionId=']
  812. ##DIV.bot-per.visible-xs.visible-sm *
  813. ##div.maomi-content > SECTION.section.section-banner
  814. ##DIV[style='width: 100%;background-color: black;color: white;padding: 15px 0;']
  815. ##IMG.lazyload[src='/statics/img/load.gif']
  816. ##[src^='https://immmg.owowqrf.cn']
  817. ##A[href^='https://v.frthv.com']
  818. ##A[href*='-fghgdf.com']
  819. ##A[href*='-fghhjj.com']
  820. ###mobile-ad.hidden-md
  821. ##.scaled-juicyads
  822. ##DIV.div_sticky2.hidden-lg
  823. ##DIV.bottom-ad.hidden-lg
  824. ##[href^='https://uod217.com/']
  825. ##DIV[style*='px; bottom: 0px; left: 0px; animation: 1.5s ease 0.2s infinite normal none running shakegwegs; z-index:']
  826. ##IMG[src*='tupian.guanggao']
  827. ##A[href='/iwagbwfiwehaeyh/']
  828. ##[href^='https://down.erperweima.top/']
  829. ##IMG[src^='https://dzfzfv.xyz/']
  830. ##body#read.read DIV[style$=' width: 100vw; position: relative;']
  831. ##IMG[src$='tywheying/vv2-960x80.gif']
  832. ##DIV[style='background-color: rgb(249, 249, 249); display: flex; align-items: center; justify-content: center;']
  833. ##[src^='data:image/png;base64,iVBORw0KGgoAAAANSU'][style*='position: fixed; z-index: 2000000000; width: 30px; bottom:']
  834. ##DIV[allowtransparency='true'][scrolling='no']
  835. ##DIV.advertisingConfiguration
  836. ##[src='/static/ads.png']
  837. ##ul.thread_detail_ads
  838. ##[style='position:relative !important;padding:0px !important;margin:0px !important;line-height:1 !important;']
  839. ##DIV.swiper2.swiper-initialized.swiper-horizontal
  840. ##[src^='/static/resources/lp.php'][style^='max-width: 100%; transform-origin: left top;']
  841. ##DIV[style^='display: block; aspect-ratio: 728 / 90; background-image: url("/static/resources/lp.php']
  842. ##[style$=' 0% 0% / 100% no-repeat; height: 130px; width: 100%; position: relative;']
  843. ##IMG[src*='qimanwu_wap/static/adimages/']
  844. ##div#main.main.read_page [id^="set_adds"]
  845. ##div.container.ff-bg > div.row.ff-row.slide
  846. ##P[style*='!important; color: transparent !important; font-size: 0px !important; text-indent: -10000px !important;']
  847. ##DIV[style*='px; top: 0px; left: 0px; z-index: '][style*='http']
  848. ##DIV[style='position: fixed; color: transparent; line-height: 100vh; width: 100vw; z-index: 288; top: 0px; left: 0px;']
  849. ##[href^='https://mtyshi.com/']
  850. ##A[href*='exuvu.com']
  851. ##A[href*='xzzkx.com']
  852. ##DIV#wwads
  853. ##DIV[style$='display:block;width:9.6vw;height:7.96875vw;background:#000;opacity:0.01;']
  854. ##A[href*='ds2f1sd31g.vip']
  855. ##IMG.playVideo-checkin-img
  856. ##DIV.playVideo-centerAd
  857. ##[href*='anrvl.com']
  858. ##[href*='zthbe.com']
  859. ##IMG[onclick='godown()'][src$='gif']
  860. ##IMG[src='https://tanju.vip/wapxiezi.png']
  861. ##[href*='snnrb.com']
  862. ##A.wrapper_bg_c.hidden-xs
  863. ##[class][style*='px; top: 0px; left: 0px; z-index'][style$='width: 100vw; position: fixed;']
  864. ##[class][style*='px; top: 0px; left: 0px; z-index'][style$='width: 100vw; position: relative;']
  865. ##[class][style*='px; bottom: 0px; left: 0px; z-index'][style$='width: 100vw; position: fixed;']
  866. ##[href*='slkdnlkfnskl.com']
  867. ##.globalPadding
  868. ##.adwap
  869. ##[href^='https://31jrx5y7.com/']
  870. ##[href*='pojuko.buzz']
  871. ##[src^='https://kykqss.xyz']
  872. ##[rel='nofollow'][href^='/book/baidu_verify_code']
  873. ##DIV[style$='display:block;width:9.6vw;height:7.96875vw;background: #000;opacity:0.01;']
  874. ##DIV[style='position: fixed; left: 0px; bottom: 0px; width: 100%; height: 120px; z-index: 2147483647 !important;']
  875. ##A[href*='jdbfknsbkldns.com']
  876. ##a[href*='html?channelCode'] > IMG[src*='.gif'][width='100%']
  877. ##A[href*='com:'] > IMG[src],A[href*='cc:'] > IMG[src]
  878. ##div#h2_player_prevideo > A[href][target='_blank']
  879. ##body#reader-m-fix IMG[src*='.gif'][style='width:100%;height:100%']`;
  880.  
  881. const input2 = `##div#h2_player_prevideo > A[href][target='_blank'],body#reader-m-fix IMG[src*='.gif'][style='width:100%;height:100%'],img#hth[onclick$="hth.html')"],#imgad,div#gmright,[style='top: 0vw; display: block;'],[src*='zdmbl.xyz'],I.fa.fa-close,IMG#diads,div.layout-box a > IMG[src*='.gif'],div#hengfu_wap_vod_xia > a,div.mobile > div.content IMG[src*='.gif'],div.poi-row IMG[width='950'][height='300'][style='max-width:100%;height:auto'],body.viewbody div[id][class][style='height: 123.75px;'],[style*='px; top: 0px; left: 0px; z-index'][style$='width: 100vw; position: relative;'][style*='px; top: 0px; left: 0px; z-index'][style$='width: 100vw; position: relative;'],[style*='background-size: 400px 127px !important;'],[style*='background-size: 470px 149px !important;'],[style$='vw;background: #000;opacity:0.01;'],[style$='0% 0% / 100% no-repeat; height: 140px; width: 100%; position: relative;'],IMG[class][style='pointer-events: none;'][width='100%'],[style$='background:#000;opacity:0.01;'],[style$='overflow:hidden !important;font-size:0px !important;line-height:0px !important;'],[style$='background-size: 400px 125px !important;'],[style='position: fixed; line-height: 600vh; width: 100vw; top: 0px; left: 0px;'],[style='text-align: left;max-height: 150px;overflow: hidden;'],[style*='px; bottom: 0px; left: 0px; z-index'][style$='width: 100vw; position: fixed;'],[style*='background-size: 400px 112.64px !important;'],DIV[id][style='height: 125px;']`;
  882.  
  883.  
  884. // 函数用来处理单个输入字符串并添加样式
  885. function addCustomStyle(input) {
  886. // 移除前两个字符 ('##'),拼接它们为CSS选择器
  887. const selector = input.split('\n').map(line => line.slice(2)).join(',');
  888.  
  889. // 定义CSS规则
  890. const cssRule = `${selector} {display: none !important;visibility: hidden; opacity: 0; z-index: -999; width: 0; height: 0; pointer-events: none; position: absolute; left: -9999px; top: -9999px;}`;
  891.  
  892. // 如果 GM_addStyle 函数存在,则应用样式
  893. if (typeof GM_addStyle === 'function') {
  894. GM_addStyle(cssRule);
  895. } else {
  896. console.error('GM_addStyle is not available. Ensure you are running this script in a userscript manager environment like Tampermonkey or Greasemonkey.');
  897. }
  898. }
  899.  
  900. // 对每一个输入执行函数
  901. addCustomStyle(input1); // 为第一部分的选择器应用样式
  902. addCustomStyle(input2); // 为第二部分的选择器应用样式
  903.  
  904. (function() {
  905. if (Object.getOwnPropertyDescriptor(navigator, 'platform')) {
  906. // 如果navigator.platform已经有getter,尝试使用__defineGetter__来重写
  907. navigator.__defineGetter__('platform', function() {
  908. return 'Mac';
  909. });
  910. } else {
  911. // 如果没有getter,直接使用defineProperty来重定义platform属性
  912. Object.defineProperty(navigator, 'platform', {
  913. get: function() {
  914. return 'Mac';
  915. }
  916. });
  917. }
  918. })();
  919. }
  920.  
  921. // 根据保存的设置来启用或禁用弹出提示框功能
  922. if (isEnabled) {
  923. showAlert();
  924. }
  925.  
  926. // 创建油猴菜单项,在菜单中添加“启用”和“禁用”选项
  927. GM_registerMenuCommand(isEnabled ? '禁用buff拦截' : '启用buff拦截', function() {
  928. isEnabled = !isEnabled;
  929. GM_setValue(storageKey, isEnabled);
  930. if (isEnabled) {
  931. showAlert();
  932. }
  933. });
  934. })();