| <!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> | |
| <body> | |
| <iframe src="" id="frame1" style="position: relative; top: 100px; left: 100px;"></iframe> | |
| </body> |