http to https with javascript

19.9.2017 23:45:25Posted by UMITBENIZ

<script>
        if (location.protocol != 'https:')
        {
                location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
        }
</script>


Yorum Ekle

Adı :  
E-mail :      
Yorum :




Design mode
HTML text