Last active
November 30, 2024 12:41
-
-
Save braziliany/d65db99d237aa23d6341bef85653865f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!name=12306去广告 | |
#!desc=过滤12306应用内广告及开屏广告 | |
#!author=RuCu6[https://github.com/RuCu6] | |
#!icon=https://raw.githubusercontent.com/luestr/IconResource/main/App_icon/120px/12306.png | |
#!category=iKeLee | |
#!openUrl=https://apps.apple.com/app/id564818797 | |
#!tag=去广告 | |
#!loon_version=3.2.1(749) | |
#!homepage=https://github.com/luestr/ProxyResource/blob/main/README.md | |
#!date=2024-02-20 17:20:29 | |
#!category=广告 | |
# 🔗 模块链接 | |
#SUBSCRIBED http://script.hub/file/_start_/https://raw.githubusercontent.com/QingRex/LoonKissSurge/main/Surge/12306%E5%8E%BB%E5%B9%BF%E5%91%8A.sgmodule/_end_/12306%E5%8E%BB%E5%B9%BF%E5%91%8A.sgmodule?type=surge-module&target=surge-module&category=%E5%B9%BF%E5%91%8A&jqEnabled=false&del=false | |
[Rule] | |
# 放行规则 | |
DOMAIN,ad.12306.cn,DIRECT,extended-matching | |
[Script] | |
# 移除12306开屏广告 | |
移除12306开屏广告 = type=http-request, pattern=^https:\/\/ad\.12306\.cn\/ad\/ser\/getAdList$, script-path=https://kelee.one/Resource/Script/12306/12306_remove_splashscreen_ads.js, requires-body=true | |
# 移除12306应用内广告 | |
移除12306应用内广告 = type=http-response, pattern=^https:\/\/mobile\.12306\.cn\/otsmobile\/app\/mgs\/mgw\.htm$, script-path=https://kelee.one/Resource/Script/12306/12306_remove_ads.js | |
[MITM] | |
hostname = %APPEND% ad.12306.cn, mobile.12306.cn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment