지도/로컬 API에 대한 문의게시판입니다.
postcode.v2.js:1 A Parser-blocking, cross site (i.e. different eTLD+1) script, http://s1.daumcdn.net/svc/attach/U03/cssjs/postcode/1495012223804/170517.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.
이렇게 console창에 오류가 뜨면서, 다음기능으로 진행이 되질 않습니다. 몇일 전까지만 해도 잘 됐었는데…
현재 사용하고 있는 daum 주소 api 는 아래와 같습니다.
window.daum=window.daum||{},function(a){function b(){for(var a=0,b=l.length;b>a;a++)document
.write(’’);h=2}function c(){for(var a=0,b=l.length;b>a;a++){var c=document.createElement(“script”);n[l[a]]=!1,c.type=“text/javascript”,c.charset=“utf-8”,c.src=i+l[a],c.onload=function(){var b=l[a];return function(){var a=b;n[a]||(n[a]=!0),e()&&f()}}(),c.onreadystatechange=function(){var b=l[a];return function(){/loaded|complete/.test(this.readyState)&&(n[b]||(n[b]=!0),e()&&f())}}(),document.getElementsByTagName(“head”)[0].appendChild(c)}}function d(a){var b={};return a.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(a,c,d){b[c]=d}),b}function e(){for(var a=0,b=0,c=l.length;c>b;b++)n[l[b]]&&a++;return a===l.length?!0:!1}function f(){for(h=2;g[0];)g.shift()()}a.postcode={};var g=[],h=0,i=“https:”==location.protocol?“https:”:“http:”,j=document.getElementsByTagName(“script”),k=j[j.length-1].src;j=null;var l=["//s1.daumcdn.net/svc/attach/U03/cssjs/postcode/1495012223804/170517.js"];if(//map_js_init/postcode.v2(.dev){0,1}(.update){0,1}.js\b/.test(k)){var m=d(k);“false”!==m.autoload&&(b(),h=2)}var n={};a.postcode.version=“170517”,a.postcode.load=function(a){if(a&&“function”==typeof a)switch(g.push(a),h){case 0:h=1,c();break;case 2:f()}}}(window.daum);
두번째 줄부터 오류가 시작되고 있는데 어떻게 해결해야 할 지 모르겠습니다 ㅠㅠ