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

Commit eef2855

Browse files
author
Chan Chak Shing
committed
Fix targets with leading dots
1 parent 17a98d7 commit eef2855

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/chrome/content/rules/BGPmon.net.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010
-->
1111
<ruleset name="BGPmon.net">
1212
<target host="bgpmon.net" />
13-
<target host=".bgpmon.net" />
1413
<target host="portal.bgpmon.net" />
1514
<target host="www.bgpmon.net" />
1615
<target host="bgpmon.com" />
17-
<target host=".bgpmon.com" />
1816
<target host="portal.bgpmon.com" />
1917
<target host="www.bgpmon.com" />
2018

@@ -24,7 +22,7 @@
2422
<rule from="^http://bgpmon\.(?:com|net)/"
2523
to="https://www.bgpmon.net/" />
2624

27-
<rule from="^http://(portal|www)?\.bgpmon\.com/"
28-
to="https://$1.bgpmon.net/" />
25+
<rule from="^http://(portal\.|www\.)?bgpmon\.com/"
26+
to="https://$1bgpmon.net/" />
2927
<rule from="^http:" to="https:" />
3028
</ruleset>

src/chrome/content/rules/Gamestar_Mechanic.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
<ruleset name="Gamestar Mechanic">
3333

3434
<target host="gamestarmechanic.com" />
35-
<target host=".gamestarmechanic.com" />
36-
<target host=".stage.gamestarmechanic.com" />
3735
<target host="chalkable.gamestarmechanic.com" />
3836
<target host="chalkable.stage.gamestarmechanic.com" />
3937
<target host="edmodo.gamestarmechanic.com" />

0 commit comments

Comments
 (0)