아이프레임 크로스도메인 문제

https://junspapa-itdev.tistory.com/55 https://learn.microsoft.com/ko-kr/skype-sdk/ucwa/cross_domainiframe 부모 <iframe id="unseggun_ifr" src="https://www.unseggun.com?ref=herald" frameborder="0" style="width:100%;" scrolling ="no"></iframe> <script> document.getElementById('unseggun_ifr').addEventListener('load', function(){ document.getElementById('unseggun_ifr').contentWindow.postMessage({ data : 'iframe_height'}, 'https://www.unseggun.com'); window.addEventListener('message', function(e) { if(e.origin == "https://www.unseggun.com"){ if(e.data.data){ document.getElementById('unseggun_ifr').height = e.data.data; } }…

0 Comments

End of content

No more pages to load