#!name=芒果TV去广告 #!desc=详情看芒果TV「我的」页面最下面「去广告设置」 #!openUrl=https://apps.apple.com/app/id629774477 #!author=Yu9191[https://github.com/Yu9191] #!tag=去广告 #!system=ios #!loon_version=3.5.1(978) #!homepage=https://github.com/Yu9191/MgtvAd #!icon=https://raw.githubusercontent.com/ios151/Surge-icon/main/icons/%E8%8A%92%E6%9E%9CTV.png #!date=2026-11-29 00:00:00 [Argument] BOOT = switch,true,tag=[广告] 开屏广告 PAGE = switch,true,tag=[广告] 页面广告 (首页 / 频道 / 我的页) PLAYER = switch,true,tag=[广告] 播放器广告 (贴片 / 中插 / 暂停) CONFIG = switch,true,tag=[广告] 服务端广告开关 CHANNEL = switch,true,tag=[广告] 频道与片库广告位 LAYER = switch,true,tag=[弹窗] 运营弹窗 FLOOR = switch,true,tag=[弹窗] 下拉二楼 VIPENTRY = switch,true,tag=[推广] 会员推广入口 MEBANNER = switch,true,tag=[推广] 我的页横幅与游戏记录 AIPLAY = switch,true,tag=[AI] AI 玩空间与热门作品 AGENT = switch,true,tag=[AI] AI 悬浮助手 SHOPTAB = switch,true,tag=[底部标签] 隐藏「周边」 SHOPMOD = switch,true,tag=[推广] 播放页「周边大放送」 PENDANT = switch,true,tag=[推广] 首页「芒果卡」挂件 ENTRY = switch,true,tag=[设置] 我的页显示「去广告设置」入口 LogLevel = select,"info","off","error","warn","debug","all",tag=[调试] 日志级别,desc=排错时切到 debug 可看到每次处理的细节 [Rule] DOMAIN, ys.da.mgtv.com, REJECT DOMAIN, py.da.mgtv.com, REJECT DOMAIN, d.da.mgtv.com, REJECT DOMAIN, img.da.mgtv.com, REJECT DOMAIN, video.da.mgtv.com, REJECT DOMAIN, x.da.hunantv.com, REJECT DOMAIN, y.da.hunantv.com, REJECT DOMAIN, hunantv-mipdx.cn.miaozhen.com, REJECT DOMAIN, hunantv.m.cn.miaozhen.com, REJECT DOMAIN, nexoras.datads.cn, REJECT DOMAIN, nexorax.datads.cn, REJECT DOMAIN, dsp-tos.mongac.com, REJECT DOMAIN, v2.reachmax.cn, REJECT DOMAIN, pmg.in-neo.cn, REJECT DOMAIN, p66-ad.adkwai.com, REJECT DOMAIN, p3-lm.adkwai.com, REJECT [Script] http-response ^https?:\/\/mobile\.da\.mgtv\.com\/(json\/app\/bdboot|creative\/list) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=开屏广告, argument=BOOT={BOOT}&LogLevel={LogLevel} http-response ^https?:\/\/mobile\.da\.mgtv\.com\/(m\/(page|bdpage)|app\/el|channel\/rprain) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=页面广告, argument=PAGE={PAGE}&LogLevel={LogLevel} http-response ^https?:\/\/mobile\.da\.mgtv\.com\/app\/(player|barrage|progress) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=播放器广告, argument=PLAYER={PLAYER}&LogLevel={LogLevel} http-response ^https?:\/\/mobile\.api\.mgtv\.com\/mobile\/(getConfig|config) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=服务端开关 / AI 助手 / 周边标签, argument=CONFIG={CONFIG}&AGENT={AGENT}&SHOPTAB={SHOPTAB}&LogLevel={LogLevel} http-response ^https?:\/\/(dc2?\.bz\.mgtv\.com\/dynamic\/v1\/channel\/ads|pianku\.api\.mgtv\.com\/rider\/list\/mobile\/) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=频道与片库广告位, argument=CHANNEL={CHANNEL}&LogLevel={LogLevel} http-response ^https?:\/\/layer\.bz\.mgtv\.com\/layer\/conf script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=运营弹窗, argument=LAYER={LAYER}&LogLevel={LogLevel} http-response ^https?:\/\/(floor\.bz\.mgtv\.com\/floor\/detail|damang\.api\.mgtv\.com\/drop\/down\/second\/floor) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=下拉二楼, argument=FLOOR={FLOOR}&LogLevel={LogLevel} http-response ^https?:\/\/vip\.bz\.mgtv\.com\/client\/dynamic_entry script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=会员推广入口, argument=VIPENTRY={VIPENTRY}&LogLevel={LogLevel} http-response ^https?:\/\/hb-boom\.api\.mgtv\.com\/release\/pullReleaseInfo script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=首页芒果卡挂件, argument=PENDANT={PENDANT}&LogLevel={LogLevel} http-response ^https?:\/\/me\.bz\.mgtv\.com\/v4\/module\/list script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=我的页横幅与设置入口, argument=MEBANNER={MEBANNER}&ENTRY={ENTRY}&LogLevel={LogLevel} http-response ^https?:\/\/hb-airender\.api\.mgtv\.com\/api\/v1\/ai-app\/vod\/(apps|participants) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=AI 玩空间与热门作品, argument=AIPLAY={AIPLAY}&LogLevel={LogLevel} http-response ^https?:\/\/(mobile-thor\.api\.mgtv\.com\/v1\/vod\/info|recom\.api\.mgtv\.com\/xyt\/banner) script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, requires-body=true, timeout=20, tag=播放页周边大放送, argument=SHOPMOD={SHOPMOD}&LogLevel={LogLevel} http-request ^https?:\/\/mobile\.api\.mgtv\.com\/mgtv-ad-settings script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, timeout=20, tag=去广告设置页, argument=BOOT={BOOT}&PAGE={PAGE}&PLAYER={PLAYER}&CONFIG={CONFIG}&CHANNEL={CHANNEL}&LAYER={LAYER}&FLOOR={FLOOR}&VIPENTRY={VIPENTRY}&MEBANNER={MEBANNER}&AIPLAY={AIPLAY}&AGENT={AGENT}&SHOPTAB={SHOPTAB}&SHOPMOD={SHOPMOD}&PENDANT={PENDANT}&ENTRY={ENTRY}&LogLevel={LogLevel} http-request ^https?:\/\/mobile-stream\.api\.mgtv\.com\/v1\/video\/source script-path=https://raw.githubusercontent.com/Yu9191/MgtvAd/main/mgtvad.js, timeout=20, tag=播放源ticket [MitM] hostname = mobile.da.mgtv.com, mobile.api.mgtv.com, dc.bz.mgtv.com, dc2.bz.mgtv.com, pianku.api.mgtv.com, layer.bz.mgtv.com, floor.bz.mgtv.com, damang.api.mgtv.com, vip.bz.mgtv.com, me.bz.mgtv.com, hb-airender.api.mgtv.com, mobile-thor.api.mgtv.com, recom.api.mgtv.com, hb-boom.api.mgtv.com, mobile-stream.api.mgtv.com