mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2025-12-31 09:30:25 +00:00
deploy: 9635db8288
This commit is contained in:
8
Modules/Rules/google_cn_307.sgmodule
Normal file
8
Modules/Rules/google_cn_307.sgmodule
Normal file
@@ -0,0 +1,8 @@
|
||||
#!name=谷歌中国重定向
|
||||
#!desc=将 google.cn 的请求重定向到 google.com
|
||||
|
||||
[URL Rewrite]
|
||||
^https?://(www.)?(g|google)\.cn https://www.google.com 307
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% g.cn,www.g.cn,google.cn,www.google.cn
|
||||
@@ -0,0 +1,11 @@
|
||||
#!name=[Sukka] Disable NetEase Music Mac v2 Update Check
|
||||
#!desc=禁用网易云音乐 Mac 版 v2 更新提示
|
||||
|
||||
[Rule]
|
||||
URL-REGEX,https?://music\.163\.com/eapi/mac/upgrade/get,REJECT
|
||||
URL-REGEX,https?://music\.163\.com/eapi/osx/version,REJECT
|
||||
URL-REGEX,https?://music\.163\.com/eapi/cdns,REJECT
|
||||
URL-REGEX,https?://music\.163\.com/eapi/push/init,REJECT
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% music.163.com
|
||||
21
Modules/Rules/sukka_enhance_adblock.sgmodule
Normal file
21
Modules/Rules/sukka_enhance_adblock.sgmodule
Normal file
@@ -0,0 +1,21 @@
|
||||
#!name=[Sukka] Enhance Better ADBlock for Surge
|
||||
#!desc=增强 ADBlock 效果、恢复网站正常功能
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% *.google-analytics.com, *.googletagmanager.com, *.googlesyndication.com, *.googletagservices.com, *.doubleclick.net, cdn.ampproject.org, *.addthis.com, static.chartbeat.com, widgets.outbrain.com
|
||||
|
||||
[URL Rewrite]
|
||||
^https?://.+\.google-analytics\.com/analytics\.js https://ruleset.skk.moe/Mock/www-google-analytics-com_analytics.js 302
|
||||
^https?://.+\.googletagmanager\.com/gtm\.js https://ruleset.skk.moe/Mock/www-google-analytics-com_analytics.js 302
|
||||
^https?://.+\.google-analytics\.com/ga\.js https://ruleset.skk.moe/Mock/www-google-analytics-com_ga.js 302
|
||||
^https?://.+\.google-analytics\.com/cx/api\.js https://ruleset.skk.moe/Mock/www-google-analytics-com_cx_api.js 302
|
||||
^https?://.+\.googlesyndication\.com/adsbygoogle\.js https://ruleset.skk.moe/Mock/www-googlesyndication-com_adsbygoogle.js 302
|
||||
^https?://.+\.googletagservices\.com/gpt\.js https://ruleset.skk.moe/Mock/www-googletagservices-com_gpt.js 302
|
||||
^https?://.+\.google-analytics\.com/inpage_linkid\.js https://ruleset.skk.moe/Mock/www-google-analytics-com_inpage_linkid.js 302
|
||||
^https?://.+\.doubleclick\.net/instream/ad_status\.js https://ruleset.skk.moe/Mock/doubleclick-net_instream_ad_status.js 302
|
||||
^https?://cdn\.ampproject\.org/v0\.js https://ruleset.skk.moe/Mock/ampproject-org_v0.js 302
|
||||
^https?://.+\.addthis\.com/addthis_widget\.js https://ruleset.skk.moe/Mock/addthis-com_addthis_widget.js 302
|
||||
^https?://.+\.amazon-adsystem\.com/aax2/apstag\.js https://ruleset.skk.moe/Mock/amazon-adsystem-com_amazon-apstag.js 302
|
||||
^https?://static\.chartbeat\.com/chartbeat\.js https://ruleset.skk.moe/Mock/static-chartbeat-com_chartbeat_mab.js 302
|
||||
^https?://widgets\.outbrain\.com/outbrain\.js https://ruleset.skk.moe/Mock/widgets-outbrain-com_outbrain.js 302
|
||||
^https?://securepubads\.g\.doubleclick\.net/tag/js/gpt\.js https://ruleset.skk.moe/Mock/securepubads-g-doubleclick-net_tag_js_gpt.js 302
|
||||
5
Modules/Rules/sukka_mitm_all_hostnames.sgmodule
Normal file
5
Modules/Rules/sukka_mitm_all_hostnames.sgmodule
Normal file
@@ -0,0 +1,5 @@
|
||||
#!name=[Sukka] MitM All Hostnames
|
||||
#!desc=Perform MitM on all hostnames with port 443, except those to Apple and other common sites which can't be inspected.
|
||||
|
||||
[MITM]
|
||||
hostname = -*.apple.com, -*.icloud.com, -*.mzstatic.com, -*.crashlytics.com, -*.facebook.com, -*.instagram.com, *
|
||||
6
Modules/Rules/sukka_surge_network_test_domain.sgmodule
Normal file
6
Modules/Rules/sukka_surge_network_test_domain.sgmodule
Normal file
@@ -0,0 +1,6 @@
|
||||
#!name=[Sukka] Change Test Url
|
||||
#!desc=设置 Surge 网络检测地址为 Vivo 和 Cloudflare
|
||||
|
||||
[General]
|
||||
internet-test-url = http://wifi.vivo.com.cn/generate_204
|
||||
proxy-test-url = http://latency-test.skk.moe/endpoint
|
||||
Reference in New Issue
Block a user