3 ms·
Okay, but you can already store web pages in URLs. `data:text/html,<h1>Hi%20there!</h1>` You can even base64 encode them, if you want to.
by jfrunyon 5y ago
Okay, but you can already store web pages in URLs. `data:text/html,<h1>Hi%20there!</h1>`
You can even base64 encode them, if you want to.
- jstrieb 5y agoThis is true, but linking to data URIs no longer works. Many browsers block them for "security reasons." In Firefox, a link to that page is not clickable for me: https://git.io/JssFK https://git.io/JssFK From a convenience standpoint, it's also far less likely that a URL with an http: scheme will be blocked by a random web application than one with a data: scheme. For example it makes sharing on social media sites and chat applications more feasible.