Skip to content

Commit 0e81f23

Browse files
author
MB
committed
[2K Games] Add (www.)?2k.com, blog.2k.com
1 parent 4b78c74 commit 0e81f23

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

src/chrome/content/rules/2K_Games.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
2626
Fully covered domains:
2727
28+
- (www.)?2k.com (^ → www)
29+
- blog.2k.com
30+
2831
- (www.)?2kgames.com (^ → www)
2932
- downloads.2kgames.com
3033
@@ -38,7 +41,8 @@
3841
-->
3942
<ruleset name="2K Games (partial)">
4043

41-
<target host="store.2k.com" />
44+
<target host="2k.com" />
45+
<target host="*.2k.com" />
4246
<exclusion pattern="^http://store\.2k\.com/+(?!Admin/|DRHM/|favicon\.io)" />
4347
<target host="2kgames.com" />
4448
<target host="*.2kgames.com" />
@@ -48,8 +52,11 @@
4852
<securecookie host=".+\.2kgames\.com" name=".+" />
4953

5054

51-
<rule from="^http://store\.2k\.com/"
52-
to="https://store.2k.com/" />
55+
<rule from="^http://(?:www\.)?2k\.com/"
56+
to="https://www.2k.com/" />
57+
58+
<rule from="^http://(blog|store)\.2k\.com/"
59+
to="https://$1.2k.com/" />
5360

5461
<rule from="^http://(?:www\.)?2kgames\.com/"
5562
to="https://www.2kgames.com/" />

0 commit comments

Comments
 (0)