packages feed

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

<!--
	For other Elsevier coverage, see Elsevier.xml.

-->
<ruleset name="SciVerse (partial)" default_off="mixed content">

	<target host="sciencedirect.com" />
	<!--	domains:
			- binary-services
			- pdn
			- sdauth
			- www		-->
	<target host="*.sciencedirect.com" />
		<!--	Homepage redirects to http, gagdetservices css throws 404	-->
		<exclusion pattern="^http://(www\.)?sciencedirect\.com/($|gadgetservices/)" />
	<target host="*.sciverse.com" />
	<target host="www.applications.sciverse.com" />
		<!--	exclusion below		-->
	<target host="www.hub.sciverse.com" />
		<exclusion pattern="^http://www\.(applications|hub)\.sciverse\.com/($|action|gadgetservices)" />


	<!--	encountered cookies:
			- ^\.
			- ^pdn
			- ^sdauth
			- ^www		-->
	<securecookie host="^.*\.sciencedirect\.com$" name=".*" />
	<securecookie host="^\.sciverse\.com$" name=".*" />


	<!--	Cert doesn't match !www.	-->
	<rule from="^https?://sciencedirect\.com/"
		to="https://www.sciencedirect.com/" />

	<rule from="^http://(binary-services|pdn|sdauth|www)\.sciencedirect\.com/"
		to="https://$1.sciencedirect.com/" />

	<rule from="^http://acw\.sciverse\.com/"
		to="https://acw.sciverse.com/" />

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

</ruleset>