<script> document.addEventListener("DOMContentLoaded", () => { const a = document.createElement("canvas") document.body.appendChild(a); a.captureStream(18.89); a.getContext("2d"); document.body.removeChild(a); }) </script>