너유

주소 고정 하고 주소창에 도메인 주소 입력시 https로 자동 변환 하는 소스

별거 아니지만  저 처럼 찾고 있는 분이 계실까봐 공유 합니다. 

----------------------------------------------------------------------------------- 

주소 고정 하고  주소창에 도메인 주소 입력시 https로 자동 변환 하는 소스

-----------------------------------------------------------------------------------------

 

 

<script language=javascript>
 
 if(location.hostname != "localhost") {
    if (window.location.protocol != "https:") {
        window.location.href = "https:" + window.location.href.substring(window.location.protocol.length);
    }

    if (document.location.protocol == 'http:') {
        document.location.href = document.location.href.replace('http:', 'https:');
    }

</script>
 
 
 

<html> 
<title>HCN상품문의는 우리HCN에서</title> 
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" /> 
<frameset rows="*" frameborder="no" border="0" framespacing="0">  
<frame src="./bbs/" name="main" scrolling="yes" marginwidth="0" marginheight="0" noresize>
<noframes>  
</frameset>  
</html>

|

댓글 4개

댓글을 작성하시려면 로그인이 필요합니다.

그누보드5 팁자료실

+
제목 글쓴이 날짜 조회
3년 전 조회 3,627
3년 전 조회 3,121
3년 전 조회 2,940
3년 전 조회 4,507
3년 전 조회 3,122
3년 전 조회 3,720
3년 전 조회 4,353
3년 전 조회 4,065
3년 전 조회 3,955
3년 전 조회 3,767
3년 전 조회 2,915
3년 전 조회 6,426
3년 전 조회 4,336
3년 전 조회 4,026
3년 전 조회 2,799
3년 전 조회 4,193
3년 전 조회 3,309
3년 전 조회 4,530
3년 전 조회 2,670
3년 전 조회 2,324
3년 전 조회 3,335
3년 전 조회 2,369
3년 전 조회 2,506
3년 전 조회 7,846
3년 전 조회 2,529
3년 전 조회 4,633
3년 전 조회 2,688
3년 전 조회 4,120
3년 전 조회 6,220
3년 전 조회 1.1만