Skip to content

Instantly share code, notes, and snippets.

@jonkemp
Created January 30, 2017 04:14
Show Gist options
  • Save jonkemp/abb797099fe6582163ebb83d66e14818 to your computer and use it in GitHub Desktop.
Save jonkemp/abb797099fe6582163ebb83d66e14818 to your computer and use it in GitHub Desktop.
Bookmarklets
<!-- switch to htts if available -->
<a href="javascript:(function(){if(location.protocol!='https:'){location.href='https:'+window.location.href.substring(window.location.protocol.length);}})();">HTTPS Switcher</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment