Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 80f1113

Browse files
author
goaiplayer
authored
Update MeiTuan.com.xml (#19343)
1 parent 8ee9752 commit 80f1113

File tree

1 file changed

+11
-35
lines changed

1 file changed

+11
-35
lines changed

src/chrome/content/rules/MeiTuan.com.xml

Lines changed: 11 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,57 +3,33 @@
33
MeiTuan.net.xml
44
55
Cities:
6-
There are more and more cities: https://www.meituan.com/index/changecity/initiative
6+
There are more and more cities: https://www.meituan.com/changecity/
77
While this ruleset be created on 28 May 2016, there were 886 cities.
88
On 20 Feb 2017, the number is 964.
9+
On 13 June 2020, the number is more than 1k.
910
We get error from travis: “The job exceeded the maximum time limit for jobs, and has been terminated.”
1011
To fix this issue, maybe exclusion is the best choise.
11-
Use strict regex ^http://(\w+)\.meituan\.com/ to avoid redirects on 4th level subdomains (*.*.meituan.com)
12-
13-
Different http/https content:
14-
^meituan.com
15-
tech.meituan.com
16-
union.meituan.com
17-
zhao.meituan.com
12+
Maybe we need strict regex ^http://(\w+)\.meituan\.com/ to avoid redirects on 4th level subdomains (*.*.meituan.com)
1813
1914
Invalid cert:
20-
ck.dsp.meituan.com
2115
api.mobile.meituan.com
22-
23-
MCB:
24-
i.meituan.com/mobile/
25-
waimai.meituan.com
2616
-->
27-
2817
<ruleset name="MeiTuan.com">
29-
<!--Directly:-->
30-
<test url="http://s1.meituan.com/bs/js/?f=mta-js:mta.min.js" />
31-
32-
<!--MCB:-->
33-
<exclusion pattern="^http://i\.meituan\.com/mobile/" />
34-
<test url="http://i.meituan.com/mobile/down/meituan" />
35-
<exclusion pattern="^http://waimai\.meituan\.com/(?!static/)" />
36-
<test url="http://waimai.meituan.com/static/img/logos/small_3.png" />
37-
<test url="http://waimai.meituan.com/mobile/download/default" />
18+
<target host="meituan.com"/>
19+
<target host="*.meituan.com"/>
3820

39-
<!--For Cities:-->
40-
<rule from="^http://kaidian\.waimai\.meituan\.com/"
41-
to="https://kaidian.waimai.meituan.com/" />
42-
<test url="http://kaidian.waimai.meituan.com/images/welcome/step1.png" />
21+
<exclusion pattern="^http://api\.mobile\.meituan\.com/" />
22+
<test url="http://api.mobile.meituan.com/" />
4323

44-
<target host="*.meituan.com"/>
24+
<rule from="^http:" to="https:" />
4525
<test url="http://bj.meituan.com/" />
4626
<test url="http://sh.meituan.com/" />
4727
<test url="http://gz.meituan.com/" />
4828
<test url="http://sz.meituan.com/" />
4929

50-
<exclusion pattern="^http://tech\.meituan\.com/" />
30+
<test url="http://i.meituan.com/mobile/down/meituan" />
31+
<test url="http://s1.meituan.com/bs/js/?f=mta-js:mta.min.js" />
5132
<test url="http://tech.meituan.com/" />
52-
<exclusion pattern="^http://union\.meituan\.com/" />
5333
<test url="http://union.meituan.com/" />
54-
<exclusion pattern="^http://zhao\.meituan\.com/" />
55-
<test url="http://zhao.meituan.com/" />
56-
57-
<rule from="^http://(\w+)\.meituan\.com/"
58-
to="https://$1.meituan.com/" />
34+
<test url="http://kaidian.waimai.meituan.com/open_store/pclogin" />
5935
</ruleset>

0 commit comments

Comments
 (0)