packages feed

https-everywhere-rules-raw-4.0: vendor/https-everywhere/src/chrome/content/rules/Reddit.xml

<!--
	For full coverage via pay.reddit.com, see Reddit_via_pay.xml.


	For other Condé Nast coverage, see Conde-Nast.xml.


	CDN buckets:

		- s3.amazonaws.com/reddit/
		- s3.amazonaws.com/redditads/
		- s3.amazonaws.com/redditstatic/
		- s3.amazonaws.com/static.reddit.com/
		- s3.amazonaws.com/(\w\.)?thumbs.redditmedia.com/
		- buttons.reddit.com.edgesuite.net


	Nonfunctional domains:

		- blog.reddit.com	(blogger)
		- buttons.reddit.com	(503, akamai)

		- pixel.redditmedia.com	(dropped)

			Seems some sort of ad tracking, possibly can be sent to /dev/null; didn't find
			anything broken when I blocked the domain.  Doesn't seem to be used anymore.

		- www.redditmedia.com	(refused)

			Seems only/mostly to be used for ads


	No pages are covered, therefore there
	*CANNOT* be any mixed content!

-->
<ruleset name="Reddit (partial)">

	<target host="reddit.com" />
	<target host="ssl.reddit.com" />
	<target host="static.reddit.com" />
	<target host="thumbs.reddit.com" />
	<target host="www.reddit.com" />
		<!--
			static/ contains social media widgets:
								-->
		<exclusion pattern="^http://(?:www\.)?reddit\.com/(?!static/)" />
	<target host="*.redditmedia.com" />
	<target host="redditstatic.com" />
	<target host="www.redditstatic.com" />


	<rule from="^http://(?:ssl\.|www\.)?reddit\.com/"
		to="https://ssl.reddit.com/" />

	<rule from="^http://(static|thumbs)\.reddit\.com/"
		to="https://s3.amazonaws.com/$1.reddit.com/" />

	<rule from="^http://(\w+\.)?thumbs\.redditmedia\.com/"
		to="https://s3.amazonaws.com/$1thumbs.redditmedia.com/" />

	<rule from="^http://(?:www\.)?redditstatic\.com/"
		to="https://redditstatic.s3.amazonaws.com/" />

</ruleset>