반응형
<script type = "text/javascript">
if(document.location.protocol == 'http:'){
document.location.href = document.location.href.replace('http:','https:');
}
</script>
}
반응형
'Web Development > Frontend' 카테고리의 다른 글
| [Javascript]css style 변경하기 (0) | 2017.12.22 |
|---|---|
| [Ajax]데이터 전송 후 리턴값으로 리스트 받아 테이블 생성 (0) | 2017.12.12 |
| [JQuery]checkbox 체크여부 true,false로 출력 (0) | 2017.10.17 |
| [WebSquare]script submission (0) | 2017.10.17 |
| [JQuery] attr(HTML 태그 속성 변경) (0) | 2017.09.18 |