function resizeCrossDomainIframe(id, other_domain) {
var iframe = document.getElementById(id);
window.addEventListener('message', function (event) {
...
OK, this is scenario. I want to host a script on my server and just give end users something like:
<script src="https://MyDomain/MyScript.js"></script>
and what that script does is creates iframe,...