blob: 5fa14688633cbca1383e8836224f89bf4d1967e5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<img src="mozilla.gif">
<script>
window.onload = () => {
const image = document.querySelector('img');
parent.postMessage({type: 'contentLoaded', imageSrc: image.src, imageWidth: image.width}, '*');
}
</script>
</body>
</html>