<!--
	Commenting system used by several large sites.


	Nonfunctional domains:

		disqus.com subdomains:

			- blog		(tumblr)
			- docs		(403, mismatched, CN: *.services.disqus.com)
			- help		(redirects to http, CN: *.desk.com)
			- import
			- status

	Fully covered subdomains:

		- go
		- juggler.services
		- realtime.services

-->
<ruleset name="Disqus (unreliable)" default_off="https://eff.org/r.5abU">

	<target host="disqus.com" />
	<target host="*.disqus.com" />
		<!--
			https://trac.torproject.org/projects/tor/ticket/5496

			https://mail1.eff.org/pipermail/https-everywhere-rules/2012-May/001176.html

		<exclusion pattern="^http://disqus\.com/next/lounge/client\.html" />
		<exclusion pattern="^http://\w+\.disqus\.com/\d+/build/system/embed\.js"/>

			See comments at top.
							-->
		<exclusion pattern="^http://(?:blog|docs|help|import|status)\.disqus\.com/" />


	<rule from="^http://(www\.)?disqus\.com/"
		to="https://$1disqus.com/" />

	<rule from="^https?://content\.disqus\.com/"
		to="https://media.disquscdn.com/" />

	<rule from="^https?://(?:media|secure)(?:cdn)?\.disqus\.com/"
		to="https://a.disquscdn.com/" />

	<rule from="^http://([\w\.]+)\.disqus\.com/"
		to="https://$1.disqus.com/" />

</ruleset>
