diff --git a/Quantumult/Rewrite/General.conf b/Quantumult/Rewrite/General.conf index e582a84..2f2e37d 100644 --- a/Quantumult/Rewrite/General.conf +++ b/Quantumult/Rewrite/General.conf @@ -1,4 +1,4 @@ -hostname = www.google.cn,api.abema.io,app.biliintl.com,passport.biliintl.com +hostname = www.google.cn,www.firefox.com.cn,api.abema.io,app.biliintl.com,passport.biliintl.com # Redirect Google Search Service ^https?:\/\/(www.)?(g|google)\.cn url 302 https://www.google.com @@ -15,8 +15,8 @@ hostname = www.google.cn,api.abema.io,app.biliintl.com,passport.biliintl.com ^https?:\/\/(www.)?yhd\.com\/ url 302 https://yhd.com/ # Redirect False to True -# > Firefox -^https?:\/\/(www.)?firefox.com.cn/ url 302 https://www.mozilla.org/zh-CN/firefox/new/ +# > Firefox - www.firefox.com.cn +^https?:\/\/(www.)?firefox\.com\.cn\/(download\/)?$ url 302 https://www.mozilla.org/zh-CN/firefox/new/ # > IGN China to IGN Global ^https?:\/\/(www.)?ign\.xn--fiqs8s\/ url 302 http://cn.ign.com/ccpref/us # > Fake Website Made By C&J Marketing diff --git a/Surge/Module/General.sgmodule b/Surge/Module/General.sgmodule index 95f9089..8912340 100644 --- a/Surge/Module/General.sgmodule +++ b/Surge/Module/General.sgmodule @@ -39,8 +39,8 @@ tun-excluded-routes = %APPEND% 239.255.255.250/32 ^https?:\/\/(www.)?yhd\.com\/ https://yhd.com/ 302 # Redirect False to True -# > Firefox -^https?:\/\/(www.)?firefox.com.cn/ https://www.mozilla.org/zh-CN/firefox/new/ 302 +# > Firefox - www.firefox.com.cn +^https?:\/\/(www.)?firefox\.com\.cn\/(download\/)?$ https://www.mozilla.org/zh-CN/firefox/new/ 302 # > IGN China to IGN Global ^https?:\/\/(www.)?ign\.xn--fiqs8s\/ http://cn.ign.com/ccpref/us 302 # > Fake Website Made By C&J Marketing @@ -108,4 +108,4 @@ bstar_login = type=http-request,pattern=^https?:\/\/passport\.biliintl\.com\/x\/ bstar_play = type=http-request,pattern=^https?:\/\/app\.biliintl\.com\/(intl\/gateway\/v\d\/app\/data\/report\/heartbeat\/mobile|x\/(history|reply)/v\d/add),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Rewrite/bstar.js,script-update-interval=0 [MITM] -hostname = %INSERT% www.google.cn,api.abema.io,app.biliintl.com,passport.biliintl.com \ No newline at end of file +hostname = %APPEND% www.google.cn,www.firefox.com.cn,api.abema.io,app.biliintl.com,passport.biliintl.com \ No newline at end of file diff --git a/Surge/Module/Turn-Off-Google-Safesearch.sgmodule b/Surge/Module/Turn-Off-Google-Safesearch.sgmodule index c6d8d09..fa996b3 100644 --- a/Surge/Module/Turn-Off-Google-Safesearch.sgmodule +++ b/Surge/Module/Turn-Off-Google-Safesearch.sgmodule @@ -7,4 +7,4 @@ https://www\.google\.com\.hk\/search\?q=([\w.]+)&(.+) https://www.google.com.sg/search?q=$1&safe=off 302 [MITM] -hostname = %INSERT% www.google.com,www.google.com.* \ No newline at end of file +hostname = %APPEND% www.google.com,www.google.com.* \ No newline at end of file diff --git a/Surge/Module/Wikiwand.sgmodule b/Surge/Module/Wikiwand.sgmodule index 6115b89..e53ac03 100644 --- a/Surge/Module/Wikiwand.sgmodule +++ b/Surge/Module/Wikiwand.sgmodule @@ -6,4 +6,4 @@ ^https://(\w*).(m.)?wikipedia.org/wiki https://www.wikiwand.com/$1 302 [MITM] -hostname = %INSERT% *.wikipedia.org,*.wikiwand.com \ No newline at end of file +hostname = %APPEND% *.wikipedia.org,*.wikiwand.com \ No newline at end of file diff --git a/Surge/Outbound.conf b/Surge/Outbound.conf index a96b6f7..3d56fcd 100644 --- a/Surge/Outbound.conf +++ b/Surge/Outbound.conf @@ -193,8 +193,8 @@ falogin.cn = server:syslib ^https?:\/\/(www.)?yhd\.com\/ https://yhd.com/ 302 # Redirect False to True -# > Firefox -^https?:\/\/(www.)?firefox.com.cn/ https://www.mozilla.org/zh-CN/firefox/new/ 302 +# > Firefox - www.firefox.com.cn +^https?:\/\/(www.)?firefox\.com\.cn\/(download\/)?$ https://www.mozilla.org/zh-CN/firefox/new/ 302 # > IGN China to IGN Global ^https?:\/\/(www.)?ign\.xn--fiqs8s\/ http://cn.ign.com/ccpref/us 302 # > Fake Website Made By C&J Marketing @@ -257,4 +257,4 @@ falogin.cn = server:syslib [MITM] skip-server-cert-verify = true -hostname = www.google.cn,api.abema.io +hostname = www.google.cn,www.firefox.com.cn,api.abema.io \ No newline at end of file