Why can’t you open the link in the following demo:
http://html5-demos.appspot.com/static/a.download.html
You cannot even right click and open it in a new tab/window. Is there any setting in the browser I need to customize?
Why can’t you open the link in the following demo:
http://html5-demos.appspot.com/static/a.download.html
You cannot even right click and open it in a new tab/window. Is there any setting in the browser I need to customize?
errrm. You missed
Browser support: right now, only Chrome dev channel (14.0.835.15+) supports this attribute.
No I didn’t: I know the download attribute isn’t supported in IE and Safari. But it’s a link and even if you can’t click and download it, you should be able to navigate to the URL mentioned in the href attribute in the same tab or a new one. It works as expected in Safari, but not in IE11.
OK, I see what you mean now.
view-source shows
<a class="dragout" draggable="true"
data-downloadurl="text/plain:MyFile.txt:blob:999891b5-4f13-4b04-8d1c-9131fe0ceb3b"
href="blob:999891b5-4f13-4b04-8d1c-9131fe0ceb3b"
download="MyFile.txt">Download ready</a>
blob:999891b5-4f13-4b04-8d1c-9131fe0ceb3b
Is that a valid URL?
EDIT
Hmm. supposedly IE 10 and 11 support Web Workers
Yes: you can use blob URLs in any context that regular URLs can be used in, for example img.src, etc.
Sources:
If it wasn’t a valid URL you woudn’t be able to download it or navigate to it in other browsers. Even in IE11 you can download it: right-click >> Save target as….