Ver Fonte

基于https://github.com/ddgksf2013

shawenguan há 2 anos atrás
commit
5b48c94fb3
1 ficheiros alterados com 276 adições e 0 exclusões
  1. 276 0
      QuantumultX.conf

+ 276 - 0
QuantumultX.conf

@@ -0,0 +1,276 @@
+// ==UserScript==
+// @ConfigName        墨鱼自用的QX配置文件
+// @Author            @Cuttlefish, @ddgksf2013
+// @TgChannel         𝐡𝐭𝐭𝐩𝐬://𝐭.𝐦𝐞/𝐝𝐝𝐠𝐤𝐬𝐟𝟐𝟎𝟐𝟏
+// @WechatID          公众号墨鱼手记
+// @Feedback          💡请通过邮件反馈问题[其它方式一概无视]:𝐝𝐝𝐠𝐤𝐬𝐟𝟐𝟎𝟏𝟑@𝟏𝟔𝟑.𝐜𝐨𝐦 💡
+// @UpdateTime        2023/04/10 18:10 UTC/GMT +8
+// @Function          请参考对应的注释或Tag
+// @Appreciate        https://shrtm.nu/hGk2
+// @MainFunction      去开屏广告、应用净化、超级VIP、智能分流、自动优选、图标订阅、流媒体查询、Boxjs订阅、网易云解灰色Music、IOS更新屏蔽
+// @ExpressThanks     @ddgksf2013,@Nick-workflow,@KOP-XIAO,@DivineEngine,@blackmatrix7,@Orz-3,@yjqiang,@O7Y0,@Peng-YM,@Neurogram-R,@id77,@NobyDa,@17mon
+// @ConfigVersion     2.0 (V169)
+// @ConfigURL         https://github.com/ddgksf2013/Profile/raw/master/QuantumultX.conf
+// ==/UserScript==
+
+# 𝐂𝐮𝐭𝐭𝐥𝐞𝐟𝐢𝐬𝐡 𝐒𝐞𝐥𝐟-𝐮𝐬𝐞 𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐚𝐭𝐢𝐨𝐧 𝐂𝐡𝐚𝐧𝐠𝐞𝐥𝐨𝐠 𝐂𝐫𝐞𝐚𝐭𝐞𝐝 𝐛𝐲 𝐝𝐝𝐠𝐤𝐬𝐟𝟐𝟎𝟏𝟑
+# [+]2022-03-01  1、QX小白配置2.0已全面更新,重点更新[rewrite_remote]内容  
+# [+]2022-03-15  2、QX配置头增加网易云解锁指导、图标库、IOS屏蔽更新、旧版文档、Crack腾讯文档  
+# [+]2022-03-26  3、增加[替换支付宝内淘票票评分为豆瓣评分]和[豆瓣添加便捷播放按钮&展示在映流媒体平台]  
+# [+]2022-03-30  4、增加墨鱼专属VIPcrack订阅[请自行添加hostname]  
+# [+]2022-03-30  5、新增QX的GeoIP自动更新Url链接[内容见header]  
+# [+]2022-03-31  6、新增什么值得买APP去广告的引用@blackmatrix7  
+# [+]2022-04-04  7、增加@Orz-3的big和mini图标链接  
+# [+]2022-04-14  8、添加QX进阶版使用教程@kopshawn  
+# [+]2022-04-14  9、添加魔法订阅,仅供临时使用  
+# [+]2022-04-21 10、添加Siri与搜索2.0配置@VirgilClyne  
+# [+]2022-04-26 11、添加微信解锁被屏蔽的URL@zZPiglet  
+# [+]2022-04-30 12、对rewrite_remote进行分类,并添加Q-Search  
+# [+]2022-05-02 13、更换魔法订阅链接,仅供临时使用[订阅来源于网络]  
+# [+]2022-05-06 14、贴吧去广告更换为@app2smile的库链接,删除[server_local]下无用的网易云解锁节点 
+# [-]2022-05-12 15、从实用性角度出发,小白2.0配置注释掉Siri搜索与油管字幕翻译,有需要者自行去掉注释  
+# [+]2022-05-15 16、增加网易云的policy,替换网易云policy的图标url  
+# [+]2022-05-28 17、微博油管去广告替换为原作者独有链接  
+# [+]2022-06-09 18、建议网易云解锁订阅后加上[#checkurl=http://interface3.music.163.com],添加喜马拉雅去广告  
+# [+]2022-07-10 19、精简DNS,添加更多geo_location_checker选项  
+# [-]2022-07-31 20、去除B站自动策略,有需要,请自行添加,精简配置头的部分说明
+# [+]2022-08-05 21、新增节点响应时间限制server_check_timeout
+# [-]2022-08-15 22、将geo_location_checker设置为disabled,删除几条通用去广告(与StartUp.conf有部分重复,也与知乎、值得买等有重复)
+# [+]2022-08-17 23、将DivineEngine的更改为blackmatrix7的Advertising.conf,将未启用的重写放置QX界面最下端,
+# [+]2022-08-21 24、添加dprefer-doh3(doh-server = https://223.5.5.5/dns-query, https://223.6.6.6/dns-query)QX1.0.30+
+# [+]2022-09-19 25、将final分流绑定黑白名单policy,由用户自行选择直连或是代理,server_check_url响应地址改为http://www.gstatic.com/generate_204
+# [+]2022-09-29 26、直连分流替换为VirgilClyne 的ASN.China.list,添加不mimt抖音、ios天气、google的host;更换header图标说明
+# [+]2022-10-19 27、应群友邮件需求,墨鱼小白配置2.0中策略组新增自动选择,更新方法,可将policy部分进行替换
+# [+]2022-10-22 28、策略组tolerance调整,自动选择的策略组自动排除网易云节点,油管去广告换回墨鱼整理的
+# [+]2022-11-06 30、添加icloud、qq、tencent、weixin指定域名的DNS解析,并添加两个mitm域名排除
+# [-]2022-11-13 31、删除QQ域名的DNS解析
+# [+]2022-11-24 32、替换失效的临时使用魔法订阅,新增一条分流
+# [+]2022-11-30 32、新建github库,并替换失效连接,删除ForOwnUse.conf引用链接,添加一个豆瓣电影网页快捷跳转重写
+# [+]2022-12-03 33、小白配置分流新增微信直连分流,以改善微信转圈问题
+# [-]2022-12-11 34、删除dohDNS解析,兼容低版本QX,同时改善商店应用下载速度过慢情况
+# [+]2022-12-16 35、添加一条微博去开屏广告的直连分流,将微博去广告换成ddgksf2013的链接
+# [+]2022-12-28 36、替换两个重写的路径,由Function改为Html
+# [+]2022-12-29 37、将Streaming.list与StreamingSE.list里面的爱奇艺分流删除,港台番剧名称改为B站番剧
+# [+]2023-01-08 38、添加高德地图APP净化重写,使用时需卸载重新安装
+# [+]2023-01-18 39、优化policy组下子策略分配,将B站番剧更名为哔哩哔哩
+# [+]2023-01-31 40、更新IOS系统屏蔽系统更新描述文件的URL地址
+# [+]2023-02-01 41、随原作者@blackmatrix7更换知乎净化助手的引用链接
+# [-]2023-02-19 42、去广告分流已简化为一条墨鱼自用的链接anti-ad.net,删除部分本地分流
+# [-]2023-02-24 43、移除什么值得买去广告[无法MITM]
+# [-]2023-03-22 44、为国际媒体与全球加速policy添加DIRECT选项,方便某些用户使用QX仅用于去广告与Crack
+# [-]2023-04-10 45、删除流媒体HK、TW、JP、US分流,添加OpenAi分流
+
+
+
+# > 建议在「其他设置」里「GeoLite2」的「来源」填写使用下面链接「任选一个」,并开启「自动更新」
+; https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb
+; https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
+
+
+# > 解锁网易云灰色音乐,获取证书链接 
+; https://raw.githubusercontent.com/nondanee/UnblockNeteaseMusic/master/ca.crt
+# > 具体操作步骤可参考下面这篇《利用QuantumultX解锁网易云付费及非版权音乐》文章
+; https://mp.weixin.qq.com/s/ca6U1O2FTfcqzL7TnJ04IQ
+
+
+# > QuantumultX图标库订阅,打开以下URL,手机端点击图片即可快捷添加「1.0.30+」
+; https://github.com/ddgksf2013/Icon/blob/master/README.md
+
+
+# > 推荐使用的旧版应用如下链接所示
+; https://docs.qq.com/sheet/DYmRTQXpVY0hNcGls?tab=y6do1j
+# > 利用描述文件屏蔽IOS更新提醒(兼容IOS13、14、15、16)
+; https://initnil.com/tvOS.mobileconfig
+
+
+# 🟢 以上全部内容[包括本行]可自行在配置中删除,对使用并无影响
+
+[general]
+
+# > 用于节点延迟测试
+server_check_url= http://www.gstatic.com/generate_204
+# > 服务器测试超时时间 (毫秒)
+server_check_timeout = 3000
+# > 用于设置图标显示
+profile_img_url=https://github.githubassets.com/images/modules/site/integrators/google.png
+# > 用于Check节点IP地址(以下geo_location_checker任选一个即可)
+geo_location_checker=disabled
+;geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js
+# > 功能强大的解析器,用于引用资源的转换
+resource_parser_url=https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/resource-parser.js
+# > 下列路径将不经过QuanX的处理
+excluded_routes=239.255.255.250/32, 24.105.30.129/32, 185.60.112.157/32, 185.60.112.158/32, 182.162.132.1/32
+udp_whitelist=1-442, 444-65535
+# > 第一个filter为4g模式开启规则分流,第二个filter为其他wifi下开启规则分流,第三个wifi1修改成你路由器翻墙的wifi名开启直连模式,第四个wifi2为你公司或者其他有路由器翻墙的WiFi名走直连)
+# > 默认关闭根据wifi切换模式,如需开启,删除下方的"#"即可
+#running_mode_trigger=filter, filter, wifi1:all_direct, wifi2: all_direct
+# > dns_exclusion_list
+dns_exclusion_list=*.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com
+
+
+
+[task_local]
+
+# > 请手动添加下面的订阅(流媒体Task订阅集合)
+; https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/UI-Action.json
+# > 流媒体解锁查询
+event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/streaming-ui-check.js, tag=流媒体解锁查询, img-url=arrowtriangle.right.square.system, enabled=true
+
+
+
+[rewrite_local]
+
+
+
+[rewrite_remote]
+
+#>>>>>>>>>>>解锁会员
+https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Bilibili.conf, tag=B站去广告+1080P高码率@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/UnlockVip/Spotify.conf, tag=Spotify音乐VIP[音质≤高]@app2smile, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/dev/raw/master/ForOwnUse.conf, tag=墨鱼专属VIP@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://gist.githubusercontent.com/ddgksf2013/0f76e952f0c4a2579932f45a209b40c3/raw/Kuwo.conf, tag=酷我音乐SVIP@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+
+#>>>>>>>>>>>软件增强
+https://github.com/ddgksf2013/Rewrite/raw/master/Function/BaiduCloud.conf, tag=百度网盘倍速@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://raw.githubusercontent.com/zZPiglet/Task/master/UnblockURLinWeChat.conf, tag=微信解锁被屏蔽的URL@zZPiglet, update-interval=86400, opt-parser=false, enabled=true
+https://raw.githubusercontent.com/Orz-3/QuantumultX/master/TikTok.conf, tag=Tiktok解锁[需旧版V21]@Orz-3, update-interval=86400, opt-parser=false, enabled=true
+https://raw.githubusercontent.com/Orz-3/QuantumultX/master/Netflix_ratings.conf, tag=Netflix评分@Orz-3, update-interval=86400, opt-parser=false, enabled=false
+
+
+#>>>>>>>>>>>应用去广告
+https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/StartUp.conf, tag=墨鱼去开屏2.0@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.snippet, tag=知乎去广告及体验增强@blackmatrix7, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/app2smile/rules/raw/master/module/tieba-qx.conf, tag=百度贴吧去广告@app2smile, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Applet.conf, tag=微信小程序去广告@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/YoutubeAds.conf, tag=油管去广告@DivineEngine, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Weibo.conf, tag=微博去广告@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Ximalaya.conf, tag=喜马拉雅去广告@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Amap.conf, tag=高德地图净化[卸载重装]@ddgksf2013, update-interval=86400, opt-parser=true, enabled=true
+
+#>>>>>>>>>>>通用去广告
+;https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/QuantumultX/Advertising/Advertising.conf, tag=去广告重写@blackmatrix7, update-interval=86400, opt-parser=false, enabled=false
+https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=神机重定向@DivineEngine, update-interval=86400, opt-parser=false, enabled=true
+
+
+#>>>>>>>>>>>网页优化
+https://github.com/ddgksf2013/Rewrite/raw/master/Html/WebAdBlock.conf, tag=影视网站去广告@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/Html/Q-Search.conf, tag=Safari超级搜索@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+https://github.com/ddgksf2013/Rewrite/raw/master/Html/Douban.conf, tag=豆瓣电影网页快捷跳转@ddgksf2013, update-interval=86400, opt-parser=false, enabled=true
+
+#>>>>>>>>>>>未启用的重写
+https://raw.githubusercontent.com/Orz-3/QuantumultX/master/JD_TB_price.conf, tag=比价脚本@Orz-3, update-interval=86400, opt-parser=false, enabled=false
+https://github.com/ddgksf2013/Rewrite/raw/master/Function/BilibiliAutoRegion.conf, tag=B站换区[不会配置boxjs请勿勾选]@NobyDa, update-interval=86400, opt-parser=false, enabled=false
+https://raw.githubusercontent.com/id77/QuantumultX/master/rewrite/Youtube_CC.conf#out=Hant, tag=油管字幕翻译@id77, update-interval=86400, opt-parser=false, enabled=false
+https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.conf, tag=BoxJS商店版@chavyleung, update-interval=86400, opt-parser=false, enabled=false
+
+[server_local]
+
+
+
+[server_remote]
+
+# > 为避免网易云解锁节点滥用,有需求的请去墨鱼手记公众号回复「网易云」获取
+
+# > 魔法仅供临时使用
+https://raw.githubusercontent.com/Jsnzkpg/Jsnzkpg/Jsnzkpg/Jsnzkpg, tag=🐟临时使用, update-interval=3600, opt-parser=true, enabled=true
+
+
+
+[dns]
+
+;prefer-doh3
+;doh-server = https://223.5.5.5/dns-query, https://223.6.6.6/dns-query
+no-ipv6
+no-system
+server=223.5.5.5
+server=119.29.29.29
+server=114.114.114.114
+server=/*.icloud.com/119.29.29.29
+server=/*.icloud.com.cn/119.29.29.29
+server=/*.tencent.com/119.29.29.29
+server=/*.weixin.com/119.29.29.29
+
+
+
+[policy]
+
+static=网易云音乐, direct, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netease_Music_Unlock.png
+static=全球加速, 自动选择, direct, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, proxy, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Global.png
+static=苹果服务, direct, 香港节点, 台湾节点, 美国节点, 日本节点, 狮城节点, proxy, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Apple.png
+static=哔哩哔哩, direct, 香港节点, 台湾节点, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/bilibili.png
+static=国际媒体, 台湾节点, direct, 自动选择, 香港节点, 日本节点, 美国节点, 狮城节点, proxy, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Streaming.png
+static=兜底分流, 全球加速, direct, 自动选择, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, proxy, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/Final.png
+
+#默认设置10分钟测速一次
+url-latency-benchmark=自动选择, server-tag-regex=^(.(?!(网易|墨鱼)))*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Auto.png
+url-latency-benchmark=香港节点, server-tag-regex=(?=.*(港|HK|(?i)Hong))^((?!(台|日|韩|新|美)).)*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/HK.png
+url-latency-benchmark=台湾节点, server-tag-regex=(?=.*(台|TW|(?i)Taiwan))^((?!(港|日|韩|新|美)).)*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/TW.png
+url-latency-benchmark=日本节点, server-tag-regex=(?=.*(日|JP|(?i)Japan))^((?!(港|台|韩|新|美)).)*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/JP.png
+url-latency-benchmark=狮城节点, server-tag-regex=(?=.*(新|狮|獅|SG|(?i)Singapore))^((?!(港|台|日|韩|美)).)*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/SG.png
+url-latency-benchmark=美国节点, server-tag-regex=(?=.*(美|US|(?i)States|American))^((?!(港|台|日|韩|新)).)*$, check-interval=600, tolerance=0, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/US.png
+
+
+
+[filter_remote]
+
+https://github.com/ddgksf2013/Filter/raw/master/NeteaseMusic.list, tag=解锁网易云音乐, force-policy=网易云音乐, update-interval=172800, opt-parser=false, enabled=false
+https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list, tag=规则修正, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true
+https://anti-ad.net/surge2.txt, tag=广告终结者, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/WeChat/WeChat.list, tag=微信直连, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true
+https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Video/TikTok.list, tag=海外抖音, force-policy=全球加速, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Google/GoogleVoice.list, tag=Google Voice, force-policy=美国节点, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/ddgksf2013/Filter/master/OpenAi.list, tag=OpenAi, force-policy=美国节点, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/ddgksf2013/Filter/master/Streaming.list, tag=国际媒体, force-policy=国际媒体, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/ddgksf2013/Filter/master/StreamingSE.list, tag=哔哩哔哩, force-policy=哔哩哔哩, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Global.list, tag=全球加速, force-policy=全球加速, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Apple/Apple.list, tag=苹果服务, force-policy=苹果服务, update-interval=172800, opt-parser=true, enabled=true
+https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/ruleset/ASN.China.list, tag=国内网站, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true
+
+
+
+[filter_local]
+
+# > 一些比较容易忽视的分流
+host, ad.12306.cn, direct
+host, gg.caixin.com, direct
+host, sdkapp.uve.weibo.com, direct
+host-suffix, u3.ucweb.com, reject
+host, amdc.m.taobao.com, reject
+host, ntb.lanjie100.com, reject
+host-suffix, kuwo.cn, direct
+
+# > 贴吧屏蔽域名dns查询
+ip-cidr, 180.76.76.200/32, reject
+
+# > B站自动换区
+ip-cidr, 203.107.1.1/24, reject
+
+# > local
+ip-cidr, 10.0.0.0/8, direct
+ip-cidr, 127.0.0.0/8, direct
+ip-cidr, 172.16.0.0/12, direct
+ip-cidr, 192.168.0.0/16, direct
+ip-cidr, 224.0.0.0/24, direct
+ip-cidr, 182.254.116.0/24, direct
+geoip, cn, direct
+final, 兜底分流
+
+
+
+[http_backend]
+
+# > Boxjs设置,改为使用http backend方式,访问地址改为http://127.0.0.1:9999,更新配置后请长按风车-更新,然后重启代理
+# > BoxJs相关教程参考 https://chavyleung.gitbook.io/boxjs/
+https://raw.githubusercontent.com/chavyleung/scripts/master/chavy.box.js, host=boxjs.com, tag=BoxJS, path=^/, enabled=false
+
+
+
+[mitm]
+
+skip_validating_cert = true
+force_sni_domain_name = false
+
+hostname = -*api.smzdm.com, -consumer.fcbox.com, -*huami.com, -weather-data.apple.com, -*amemv.com, -*snssdk.com, -www.google.com
+
+# 🟢 passphrase和p12代为证书&主机名部分, 更新配置前可把旧的配置中passphrase和p12代码拷贝下来, 导入新的配置文件把内容粘贴在对应位置就不用重装证书
+