Skip to content

Commit 3f265b6

Browse files
committed
Merge pull request EFForg#190 from StevenRoddis/rule-pirateparty
Contains rules for PPAU, PirateIRC and PiratePad
2 parents 3e38142 + dbee42b commit 3f265b6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

src/chrome/content/rules/PirateParty.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@
6464
<target host="remixdepolitiek.nl" />
6565
<target host="www.remixdepolitiek.nl" />
6666

67+
<target host="pirateparty.org.au" />
68+
<target host="*.pirateparty.org.au" />
69+
70+
<target host="pirateirc.net" />
71+
<target host="*.pirateirc.net" />
72+
73+
<target host="piratepad.ca" />
74+
<target host="*.piratepad.ca" />
75+
6776

6877
<securecookie host="^(.*\.)?junge-piraten\.de$" name=".*" />
6978
<securecookie host="^(.*\.)?piratenpartei\.de$" name=".*" />
@@ -142,4 +151,26 @@
142151
<rule from="^http://(?:www\.)?uspirates\.org/"
143152
to="https://uspirates.org/" />
144153

154+
<!--
155+
For .org.au
156+
157+
Works:
158+
159+
- voting
160+
- join
161+
- payments
162+
163+
Doesn't Work:
164+
165+
- $
166+
- www
167+
-->
168+
<rule from="^http://(voting|join|payments)\.pirateparty\.org\.au/"
169+
to="https://$1.pirateparty.org.au/" />
170+
171+
<rule from="^http://webchat\.pirateirc\.net/"
172+
to="https://webchat.pirateirc.net/" />
173+
174+
<rule from="^http://(www\.)?piratepad\.ca/"
175+
to="https://www.piratepad.ca/" />
145176
</ruleset>

0 commit comments

Comments
 (0)