This simple code works perfectly everywhere except Microsoft Edge:
<a href="data:text/plain;charset=utf-8,Test">link</a>
In Microsoft Edge I'm getting "That's odd...Microsoft can't find this page" error:
Examples from Mozilla documentation also do not working with the same result.
Here's the output from Edge console:
This error occurs when opening a new edge window, on new tabs it inputs data:text/plain;charset=utf-8,Test
as search query into the default search engine.
It seems like Microsoft Edge has no definition for data:
Does anyone know a solution to this?
Update: unfortunately, it seems that there's no way to use data URI in links in IE/Edge. I've created related question about detecting data URI support in links: Detect data URI in links support with Modernizr