42 points · by atum47 · 5y ago · 16 comments
data:text/html,<script>a=()=>{document.write(Math.random()<0.5?'\u2571':'\u2572');document.body.style.cssText="margin:0;padding:0;font-family:monospace;word-break:break-word;font-size:3em;letter-spacing:0;font-stretch:ultra-expanded"};update=()=>{a();window.requestAnimationFrame(update)};update()</script>
Copy and paste the above "link" in your browser.
Data URIs: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_...
data:text/html,<script>a=()=>{document.write(Math.random()<0.5?'\u2571':'\u2572');document.body.style.cssText="margin:0;padding:0;font-family:monospace;word-break:break-word;font-size:3em;letter-spacing:0;font-stretch:ultra-expanded"};update=()=>{a();window.requestAnimationFrame(update);window.scroll(0,window.scrollMaxY)};update()</script>
Edit: Nevermind, I tried again and it did begin to run before the tab closed abruptly. Tried again in an incognito window and it worked, and it also worked in a regular Chrome window with only one tab. Tried to run it in a second tab in that same window and the tab instantly closed again. Anyone know why this might be the case?
Second edit: While it doesn't run in regular Chrome windows with multiple tabs, it does run in Incognito windows with multiple tabs. I don't think I have the expertise to dig further though.
data:text/html,<script>a=()=>{document.write('\u{1F600}');document.body.style.cssText="margin:0;padding:0;font-family:monospace;word-break:break-word;font-size:3em;letter-spacing:0;font-stretch:ultra-expanded"};update=()=>{a();window.requestAnimationFrame(update)};update()</script>
or maybe change 1F600 to 1F44D :) ╱╲╱╱╱╲╲╱╲╲╲╱╲╱╲╱╲╲╲╲╱╲╱╲╲╱╲╱╱╲╱╲╱╱╲╱╲╲╲╲╲╱╲╱╲╲╲╲╲╲╲╲╱╲╱╱╱╱╲╲╱╱╲╱╲╲╱╱╱╱╲╱╱╲╲╱╲╱╲╲╱╱╲╱╱╲╱╱╲╱╲╲╲╲╲╱╱╱╱╲╲╲╱╱╲╱╲╲╱╲╱╲╲╲╱╱╱╲╱╱╱╲╱╲╱╱╲╲╲╲╲╲╲╲╱╱╲╲╲╱╲╲╱╱╲╲╲╱╲╲╲╲╱╲╱╲╲╲╲╱╲╱╱╲╱╱╱╲╲╲╲
╲╱╲╱╲╲╲╱╱╲╱╱╲╱╲╲╱╱╲╱╲╲╱╲╲╱╲╲╲╲╲╲╱╲╱╱╲╱╱╱╱╱╱╲╲╱╱╲╱╱╲╱╱╲╲╲╲╱╱╲╱╱╱╱╱╲╲╱╲╱╲╲╲╱╱╱╱╲╱╲╱╲╱╱╱╱╲╲╲╲╱╱╱╱╱╱╱╲╲╱╲╲╱╱╱╱╱╲╱╲╱╱╱╱╲╲╱╱╱╱╱╱╲╱╲╲╱╲╲╱╱╲╱╲╱╲╱╲╲╱╲╱╱╲╱╲╱╲╲╲╲╲╱╲╲╱╱╲╱╱╲╱╲╱╲╱╲╱╱╲╱
╱╲╱╱╱╲╲╲╲╱╲╲╱╱╱╱╲╲╲╲╲╲╱╱╲╲╲╲╱╲╲╱╲╱╱╲╱╲╲╲╱╱╱╲╱╱╲╱╲╱╲╱╲╱╲╲╲╱╱╲╱╱╱╱╱╲╱╱╱╲╲╲╱╱╲╱╲╱╲╱╱╲╱╱╱╲╱╱╱╲╲╱╲╱╱╱╲╱╱╲╱╱╲╱╲╱╱╱╱╲╲╲╲╱╲╱╲╲╱╲╱╱╱╲╱╲╱╲╲╲╲╲╱╲╱╱╲╱╲╱╲╲╲╲╱╲╱╱╱╲╲╱╱╲╱╱╲╲╲╲╲╲╲╲╱╱╱╱╲╲╱
╲╱╲╱╲╲╲╱╲╲╱╲╱╱╲╱╱╲╲╱╱╲╱╱╲╱╱╲╲╱╲╱╱╲╲╱╱╱╱╱╲╲╱╲╲╱╱╱╲╲╲╲╱╱╲╲╱╲╲╱╱╱╱╱╲╱╱╱╲╱╱╱╱╱╲╱╲╲╱╲╱╲╱╲╱╱╱╲╱╲╲╲╱╱╱╲╲╱╱╱╱╲╲╲╱╲╲╲╲╱╲╱╱╱╱╲╱╲╱╱╱╲╱╱╲╱╱╲╱╲╱╱╱╱╲╱╱╲╱╲╱╱╲╱╲╱╱╲╱╲╲╲╱╲╲╲╱╲╱╱╱╲╱╱╲╲╱╲╱╲╲
╲╲╲╱╱╱╲╲╱╱╱╲╱╲╱╱╱╲╲╱╱╲╲╲╱╱╲╱╱╲╲╲╲╱╲╱╱╲╲╲╲╲╲╱╱╱╱╱╱╲╱╲╲╱╱╲╱╲╲╱╱╲╲╱╱╱╲╱╱╲╱╱╲╱╱╲╱╲╱╱╱╱╲╱╱╱╲╱╱╱╲╱╱╲╱╱╲╱╲╲╱╲╲╲╱╲╲╲╲╱╱╲╱╱╱╲╱╲╲╲╱╲╲╲╱╲╱╱╲╱╲╲╱╱╱╱╱╲╲╱╲╱╲╱╲╱╱╲╱╲╲╲╲╲╱╱╲╱╱╱╱╲╲╲╲╱╲╲╱╲╱
╲╱╲╲╱╲╲╲╱╱╲╱╲╲╱╱╲╱╲╱╲╲╱╲╲╲╱╲╱╲╱╲╲╲╲╲╱╲╱╲╱╱╱╱╱╱╲╲╱╲╲╱╲╱╱╲╱╱╲╱╱╱╱╲╱╲╱╱╱╲╱╲╲╲╲╱╲╲╱╲╲╱╲╱╱╱╱╲╱╲╲╲╱╱╲╲╱╱╲╲╱╲╲╱╲╱╲╱╱╱╲╲╱╲╱╱╲╲╲╲╱╲╱╱╱╲╲╱╱╱╱╱╲╲╱╱╱╱╱╱╱╱╱╱╲╱╲╲╱╱╲╲╱╱╲╲╱╱╲╱╲╲╱╱╱╱╲╱╲╲╱