|
|
@ -18,12 +18,13 @@
|
|
|
|
onload('[timeoutError] could not load iframe at ' + src);
|
|
|
|
onload('[timeoutError] could not load iframe at ' + src);
|
|
|
|
}, timeout);
|
|
|
|
}, timeout);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
iframe.setAttribute('id', 'cors-store');
|
|
|
|
|
|
|
|
|
|
|
|
iframe.onload = function (e) {
|
|
|
|
iframe.onload = function (e) {
|
|
|
|
onload(void 0, iframe, e);
|
|
|
|
onload(void 0, iframe, e);
|
|
|
|
window.clearTimeout(to);
|
|
|
|
window.clearTimeout(to);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
iframe.setAttribute('src', src);
|
|
|
|
iframe.setAttribute('src', src);
|
|
|
|
iframe.style.display = 'none';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
parent.appendChild(iframe);
|
|
|
|
parent.appendChild(iframe);
|
|
|
|
};
|
|
|
|
};
|
|
|
|