Skip to content

Commit 10c3b5e

Browse files
ivysronoJ0WI
authored andcommitted
Update and rename uptodown.xml to uptodown.com.xml (EFForg#8834)
* Update and rename uptodown.xml to uptodown.com.xml * Update downgrade-whitelist.txt * Create uptodown.net.xml * Create utdstc.com.xml * Update uptodown.com.xml
1 parent 7f2a57f commit 10c3b5e

File tree

5 files changed

+114
-73
lines changed

5 files changed

+114
-73
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!--
2+
There are too much subdomains to list them all.
3+
(appname).(country).uptodown.com
4+
dw\d+.uptodown.com
5+
And so on.
6+
7+
Related:
8+
uptodown.net.xml
9+
utdstc.com.xml
10+
11+
Mismatch:
12+
*.downloads.uptodown.com
13+
-->
14+
15+
<ruleset name="uptodown.com">
16+
<target host="uptodown.com" />
17+
<target host="www.uptodown.com" />
18+
<target host="api.uptodown.com" />
19+
<target host="blog.uptodown.com" />
20+
<target host="dw.uptodown.com" />
21+
<target host="feeds.uptodown.com" />
22+
<target host="gstatic.uptodown.com" />
23+
<test url="http://gstatic.uptodown.com/css/v10.86.css" />
24+
<target host="img.uptodown.com" />
25+
<target host="stat.uptodown.com" />
26+
<target host="stc.uptodown.com" />
27+
28+
<target host="*.uptodown.com" />
29+
<exclusion pattern="^http://\S+\.downloads\.uptodown\.com/" />
30+
<test url="http://vlc.downloads.uptodown.com/" />
31+
<test url="http://vlc-media-player.downloads.uptodown.com/" />
32+
33+
<rule from="^http:" to="https:" />
34+
<test url="http://ar.uptodown.com/" />
35+
<test url="http://br.uptodown.com/" />
36+
<test url="http://cn.uptodown.com/" />
37+
<test url="http://de.uptodown.com/" />
38+
<test url="http://en.uptodown.com/" />
39+
<test url="http://fr.uptodown.com/" />
40+
<test url="http://id.uptodown.com/" />
41+
<test url="http://in.uptodown.com/" />
42+
<test url="http://it.uptodown.com/" />
43+
<test url="http://jp.uptodown.com/" />
44+
<test url="http://kr.uptodown.com/" />
45+
<test url="http://ru.uptodown.com/" />
46+
<test url="http://th.uptodown.com/" />
47+
<test url="http://tr.uptodown.com/" />
48+
49+
<test url="http://vlc-media-player.ar.uptodown.com/" />
50+
<test url="http://vlc-media-player.br.uptodown.com/" />
51+
<test url="http://vlc-media-player.cn.uptodown.com/" />
52+
<test url="http://vlc-media-player.de.uptodown.com/" />
53+
<test url="http://vlc-media-player.en.uptodown.com/" />
54+
<test url="http://vlc-media-player.fr.uptodown.com/" />
55+
<test url="http://vlc-media-player.id.uptodown.com/" />
56+
<test url="http://vlc-media-player.in.uptodown.com/" />
57+
<test url="http://vlc-media-player.it.uptodown.com/" />
58+
<test url="http://vlc-media-player.jp.uptodown.com/" />
59+
<test url="http://vlc-media-player.kr.uptodown.com/" />
60+
<test url="http://vlc-media-player.ru.uptodown.com/" />
61+
<test url="http://vlc-media-player.th.uptodown.com/" />
62+
<test url="http://vlc-media-player.tr.uptodown.com/" />
63+
</ruleset>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--
2+
Related:
3+
uptodown.com.xml
4+
utdsct.com.xml
5+
6+
Mismatch:
7+
^
8+
www.uptodown.net
9+
gstatic.uptodown.net
10+
stat.uptodown.net
11+
stc.uptodown.net
12+
downloads\d.uptodown.net
13+
-->
14+
15+
<ruleset name="uptodown.net">
16+
<target host="uptodown.net" />
17+
<target host="www.uptodown.net" />
18+
<target host="gstatic.uptodown.net" />
19+
<target host="stat.uptodown.net" />
20+
<target host="stc.uptodown.net" />
21+
<rule from="^http://(www\.|gstatic\.|stat\.|stc\.)?uptodown\.net/"
22+
to="https://$1uptodown.com/" />
23+
<test url="http://uptodown.com/webapps" />
24+
<test url="http://www.uptodown.com/webapps" />
25+
<test url="http://gstatic.uptodown.net/css/v10.86.css" />
26+
<test url="http://gstatic.uptodown.net/v9/btn_pizza_v8.png" />
27+
<test url="http://stat.uptodown.net/search/whatsapp-plus.gif" />
28+
<test url="http://stc.uptodown.net/favicon.ico" />
29+
30+
<target host="img.uptodown.net" />
31+
<test url="http://img.uptodown.net/screen/android/desc/vlc-001.jpg" />
32+
33+
<rule from="^http:" to="https:" />
34+
</ruleset>

src/chrome/content/rules/uptodown.xml

Lines changed: 0 additions & 71 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!--
2+
Related:
3+
uptodown.com.xml
4+
uptodown.net.xml
5+
6+
Mismatch:
7+
i.utdstc.com https://i.utdstc.com/screen/android/desc/call-recorder-acr.jpg
8+
-->
9+
10+
<ruleset name="utdstc.com">
11+
<target host="img.utdstc.com" />
12+
<test url="http://img.utdstc.com/screen/android/desc/vlc-001.jpg" />
13+
<target host="stc.utdstc.com" />
14+
<test url="http://stc.utdstc.com/favicon.ico" />
15+
16+
<rule from="^http:" to="https:" />
17+
</ruleset>

utils/downgrade-whitelist.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,5 @@ Oak Ridge National Laboratory (partial)
2121
SRG SSR (partial)
2222
Stack Exchange (partial)
2323
University of Alaska Anchorage (partial)
24-
uptodown
2524
Visa (partial)
2625
xkcd
27-
Youku.com (partial)

0 commit comments

Comments
 (0)