Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
SY Loader
<!--This code runs in your browser. If you want to see errors, examine them in your browser's developer console (usually invoked with F12)--> <!DOCTYPE html> <html> <head> <title>Hello, world!</title> <meta charset="utf-8"> <!-- <script src="http://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations.min.js"></script> --> <script> if (sessionStorage.getItem("isWAAPISupported") === null) { alert(typeof(sessionStorage.isWAAPISupported)); alert("Hold on"); } else if (sessionStorage.getItem("isWAAPISupported") === "false") { var polyfill = document.createElement("SCRIPT"); polyfill.src = "https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations.min.js"; document.head.appendChild(polyfill); } window.addEventListener("load", function() { if (typeof(document.body.animate) === "undefined") { sessionStorage.setItem("isWAAPISupported", false); //window.location.reload(); //console.log("Web animations API not natively supported , please include the polyfill from https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations.min.js ."); //var polyfill = document.createElement("SCRIPT"); //polyfill.src = "https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations.min.js"; //document.head.appendChild(polyfill); } alert(document.body.animate); }); </script> </head> <body> </body> </html>
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Basic player movement
Coba
Tearable Cloth
rexinsrexinsrex
Task selector
Basic button example
rexinsrexinsrexinsrexins
Hi
changing image in html
toggle hide/show
Please log in to post a comment.