Skip to content

Instantly share code, notes, and snippets.

@s-aska
Created March 29, 2017 11:32
Show Gist options
  • Save s-aska/703bd7561b33d355838c4ef0934165fb to your computer and use it in GitHub Desktop.
Save s-aska/703bd7561b33d355838c4ef0934165fb to your computer and use it in GitHub Desktop.
<script type="text/javascript">
if (location.protocol != 'https:') {
location.href = 'https:' + location.href.substring(location.protocol.length);
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment