1757755.html (373B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <script> 6 7 window.addEventListener("load", () => { 8 const canvas = document.createElement('canvas'); 9 const context = canvas.getContext("webgl"); 10 const extension = context.getExtension("WEBGL_lose_context"); 11 extension.loseContext(); 12 extension.restoreContext(); 13 canvas.height = 0; 14 }); 15 16 </script> 17 </head> 18 </html>