From 7e1ff1eb461808daba96dbb308f950bec2ce1ed5 Mon Sep 17 00:00:00 2001 From: ConnersHua Date: Mon, 4 May 2020 17:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Advertising.conf | 2 +- Surge/Legacy.conf | 2 +- Surge/Module/Block-Ads.sgmodule | 2 +- Surge/Module/Block-YouTube-Ads.sgmodule | 2 +- Surge/NextGen.conf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Quantumult/Rewrite/Advertising.conf b/Quantumult/Rewrite/Advertising.conf index 6ee5a9d..114d420 100755 --- a/Quantumult/Rewrite/Advertising.conf +++ b/Quantumult/Rewrite/Advertising.conf @@ -161,7 +161,7 @@ hostname = api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,heic.alic # G # > Google - *.googlevideo.com,*.youtube.com -^(http|https):\/\/[\w-]+\.googlevideo\.com\/[\w?=&.]+(&oad|ctier) url reject-200 +^(http|https):\/\/[\w-]+\.googlevideo\.com\/.+(&oad|ctier) url reject-200 ^(http|https):\/\/\w+\.youtube\.com\/api\/stats\/ads url reject-200 ^(http|https):\/\/\w+\.youtube\.com\/(pagead|ptracking) url reject-200 # > Gofun - gateway.shouqiev.com diff --git a/Surge/Legacy.conf b/Surge/Legacy.conf index 1c2bdc8..5c7dce4 100755 --- a/Surge/Legacy.conf +++ b/Surge/Legacy.conf @@ -2142,7 +2142,7 @@ mtalk.google.com = 108.177.125.188 # G # > Google - *.googlevideo.com,*.youtube.com -^(http|https):\/\/[\w-]+\.googlevideo\.com\/[\w?=&.]+(&oad|ctier) - reject +^(http|https):\/\/[\w-]+\.googlevideo\.com\/.+(&oad|ctier) - reject ^(http|https):\/\/\w+\.youtube\.com\/api\/stats\/ads - reject ^(http|https):\/\/\w+\.youtube\.com\/(pagead|ptracking) - reject # > Gofun - gateway.shouqiev.com diff --git a/Surge/Module/Block-Ads.sgmodule b/Surge/Module/Block-Ads.sgmodule index 3bb5a43..b392834 100644 --- a/Surge/Module/Block-Ads.sgmodule +++ b/Surge/Module/Block-Ads.sgmodule @@ -167,7 +167,7 @@ force-http-engine-hosts = %APPEND% *.ott.cibntv.net,123.59.31.1,119.18.193.135,1 # G # > Google - *.googlevideo.com,*.youtube.com -^(http|https):\/\/[\w-]+\.googlevideo\.com\/[\w?=&.]+(&oad|ctier) - reject +# ^(http|https):\/\/[\w-]+\.googlevideo\.com\/.+(&oad|ctier) - reject ^(http|https):\/\/\w+\.youtube\.com\/api\/stats\/ads - reject ^(http|https):\/\/\w+\.youtube\.com\/(pagead|ptracking) - reject # > Gofun - gateway.shouqiev.com diff --git a/Surge/Module/Block-YouTube-Ads.sgmodule b/Surge/Module/Block-YouTube-Ads.sgmodule index fcb4883..e0ee3ce 100644 --- a/Surge/Module/Block-YouTube-Ads.sgmodule +++ b/Surge/Module/Block-YouTube-Ads.sgmodule @@ -3,7 +3,7 @@ #!system=ios [URL Rewrite] -^(http|https):\/\/[\w-]+\.googlevideo\.com\/[\w?=&.]+(&oad|ctier) - reject +^(http|https):\/\/[\w-]+\.googlevideo\.com\/.+(&oad|ctier) - reject [MITM] hostname = %APPEND% *.googlevideo.com \ No newline at end of file diff --git a/Surge/NextGen.conf b/Surge/NextGen.conf index 09026b0..aed4eaf 100755 --- a/Surge/NextGen.conf +++ b/Surge/NextGen.conf @@ -408,7 +408,7 @@ mtalk.google.com = 108.177.125.188 # G # > Google - *.googlevideo.com,*.youtube.com -^(http|https):\/\/[\w-]+\.googlevideo\.com\/[\w?=&.]+(&oad|ctier) - reject +^(http|https):\/\/[\w-]+\.googlevideo\.com\/.+(&oad|ctier) - reject ^(http|https):\/\/\w+\.youtube\.com\/api\/stats\/ads - reject ^(http|https):\/\/\w+\.youtube\.com\/(pagead|ptracking) - reject # > Gofun - gateway.shouqiev.com