Skip to content

Instantly share code, notes, and snippets.

@acdha
Last active October 8, 2015 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acdha/17f6f4d6fcc8dbfbc945 to your computer and use it in GitHub Desktop.
Save acdha/17f6f4d6fcc8dbfbc945 to your computer and use it in GitHub Desktop.
HTTPS Everywhere ruleset for Library of Congress properties which support HTTPS. Open your profile folder (In Firefox, Help ➡️ Troubleshooting Information has a button) and add this file to the “HTTPSEverywhereUserRules” folder
<?xml version="1.0"?>
<ruleset name="LibraryOfCongress">
<target host="loc.gov"/>
<target host="www.loc.gov"/>
<target host="congress.gov"/>
<target host="memory.loc.gov"/>
<target host="lcweb2.loc.gov"/>
<target host="catalog.loc.gov"/>
<target host="catalog2.loc.gov"/>
<target host="cdn.loc.gov"/>
<rule from="^http:" to="https:"/>
</ruleset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment