Last active
May 21, 2020 18:51
-
-
Save mgechev/8113e350ee1e1401b43878620cb6a234 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:text/html,<body onload="setInterval(()=>document.body.innerText=new Date().toLocaleTimeString())"></body> |
Good point! Updated.
Quick Question: why this HTML has data:text/html
twice when we can achieve this result with
data:text/html,<body onload="setInterval(()=>document.body.innerText=new Date().toLocaleTimeString())"></body>
It's a typo. The schema should be set only once.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would work better with other locales: