small code
this.is.lance.miller@gmail.com
GoFundMe
Tuesday, April 4, 2017
Force use of HTTPS with Javascript
<script>
location.protocol=='https:' ? console.log(window.location.href) : replace('https:'+location.hostname+location.pathname);
</script>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment