blob: f4850f2be92885a7f787afe4b608e66960b30fff [file]
<!DOCTYPE html>
<script>
function getQueryParam(name) {
const urlParams = new URLSearchParams(window.location.search);
const value = urlParams.get(name);
if (value == null)
return '';
return value;
}
window.onload = function() {
const iframe = document.getElementById('frame1');
iframe.src = getQueryParam('domain') + 'open_popup.html';
};
</script>
<style>
body {
margin: 0;
}
iframe {
border: unset;
position: relative;
top: 100px;
left: 100px;
width: 200px;
height: 300px;
}
</style>
<body>
<iframe src="" id="frame1"></iframe>
</body>