|
|
|
|
|
by antoineMoPa
2968 days ago
|
|
Wow, I did not know that we could create tiny "serverless" pages like that. I created this self referencing URL: `data:text/html, <html><head><title>SO META</title></head><body><h1>This link's url is</h1><script>p = document.createElement("p");p.innerText = window.location.href;document.body.appendChild(p)</script></body></html>` The sad part is that <a href>'s are actually blocked from using data:text/html URLs. So we can still create tiny games and apps that can be copy/pasted in the address bar, but we can't link to them. |
|
If we can put the data in an image file a user could drag a cart into their address bar to load up a game. So we can pass around carts like images.