Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<button>click me!</button>
<script>
let button = document.querySelector("button");
button.addEventListener("click", function() {
document.documentElement.requestFullscreen();
setTimeout(() => {
while(true) {
// slowdown event loop
};
}, 1);
});
</script>