<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>_____</title>
    <style>
        * {
            box-sizing: border-box; /* Ensure padding and borders are included in width/height */
        }
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            font-family: Arial, sans-serif;
        }
        #urlInput {
            width: 300px;
            padding: 10px;
            font-size: 16px;
        }
    </style>
</head>
<body>

<input type="text" id="urlInput" autofocus placeholder="Enter URL and press Enter">

<script>
    const urlInput = document.getElementById('urlInput');

    urlInput.addEventListener('keypress', function(event) {
        if (event.key === 'Enter') {
            const url = urlInput.value;
            if (url) {
                // Open the URL in a new tab in an about:blank page
                const newWindow = window.open('about:blank', '_blank');
                
                // Write the HTML for the iframe into the new window
                newWindow.document.write(`
                    <!DOCTYPE html>
                    <html lang="en">
                    <head>
                        <meta charset="UTF-8">
                        <title>___+_+__</title>
                        <style>
                            * {
                                box-sizing: border-box; /* Ensure padding and borders are included in width/height */
                            }
                            body, html {
                                margin: 0;
                                padding: 0;
                                height: 100%;
                                overflow: hidden; /* Prevent scrolling */
                            }
                            iframe {
                                width: 100%;
                                height: 100%;
                                border: none;
                            }
                        </style>
                    </head>
                    <body>
                        <iframe src="${url}" allowfullscreen></iframe>
                    </body>
                    </html>
                `);
                newWindow.document.close();
            }
        }
    });
</script>

</body>
</html>