[or-cvs] [https-everywhere/master 097/291] user-contributed rule for The Pirate Bay

schoen at torproject.org schoen at torproject.org
Sat Oct 30 00:32:38 UTC 2010


Author: Seth Schoen <schoen at eff.org>
Date: Fri, 8 Oct 2010 17:50:18 -0700
Subject: user-contributed rule for The Pirate Bay
Commit: 0b833bc53b3af7e71692b5ff42b44e39379143fe

---
 src/chrome/content/rules/PirateBay.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 src/chrome/content/rules/PirateBay.xml

diff --git a/src/chrome/content/rules/PirateBay.xml b/src/chrome/content/rules/PirateBay.xml
new file mode 100644
index 0000000..22a60dc
--- /dev/null
+++ b/src/chrome/content/rules/PirateBay.xml
@@ -0,0 +1,4 @@
+<ruleset name="ThePirateBay">
+  <rule from="^http://(rss|static|torrents)\.thepiratebay\.org/" to="https://$1.thepiratebay.org/"/>
+  <rule from="^(http|https)://(www\.)?thepiratebay\.org/" to="https://thepiratebay.org/"/>
+</ruleset>
-- 
1.7.1




More information about the tor-commits mailing list