Files
pathduck.github.io/test/window-open-crash/index.html
T
2025-06-01 11:43:10 +02:00

20 lines
350 B
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<style>body {color: white; background: darkslategray;} a {color: deepskyblue;}</style>
</head>
<body>
<p>Click the button to open a popup.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
window.open("popup.html", "_blank", "width=600, height=500");
}
</script>
</body>
</html>