Extra Form
PHP PHP 7.3
CMS XpressEngine

sdk.js?appkey=xxxxxxxxxxxxxxxxxxxxxx:1 A parser-blocking, cross site (i.e. different eTLD+1) script, https://t1.daumcdn.net/mapjsapi/js/main/4.0.10/kakao.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.

 

경고문 두개가 뜨는데 왜 차단이 될까요?

 

 

  • profile

    A parser-blocking, cross site (i.e. different eTLD+1) script, https://t1.daumcdn.net/mapjsapi/js/main/4.0.10/kakao.js, is invoked via document.write.
    document.write를 통해 추가된 스크립트가 사이트 로딩을 지연시키고 있다는 뜻입니다.

    The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity.
    이러한 스크립트는 언젠가는 타임아웃이 발생할수 있고, 그렇게 되면 해당 스크립트를 불러오지 못한 채 페이지 불러오기가 끝나 버릴수 있다는 뜻의 경고 메세지입니다. 즉 브라우저에서 스크립트가 차단될수 있다고 미리 알려주는 것입니다.

    해당 경우 지도 API를 불러오느라 본문이 표시되지 않을수 있다는 경고 메세지인데요, 지도 스크립트를 불러오는 부분이 본문 최하단에 있지 않다면 최하단으로 옮기시면 됩니다.(이미 최하단에 있다면 무시하셔도 됩니다)

  • profile profile
    지도 스크립트를 불러오는 부분이 본문 최하단으로 옮겼는데 기다리면 되나요?