<!DOCTYPE html>
<html>
<head>
<title>Kiosk Launcher</title>
<style>
body {
background: black;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
input, button {
font-size: 20px;
padding: 10px;
}
</style>
</head>
<body>
<input id=”urlInput” placeholder=”Enter URL” />
<button onclick=”openInFullscreen()”>Launch</button>
<script>
function openInFullscreen() {
let url = document.getElementById(‘urlInput’).value.trim();
if (!/^https?:\/\//i.test(url)) {
url = ‘https://’ + url;
}
const win = window.open(url, ‘_blank’);
win.focus();
}
</script>
</body>
</html>
