Re:Blocking Top-Level Navigations to Data URLs for Firefox 58
by jacobn on Thursday November 30, 2017 @06:00PM
(#15820443)
That sounds like the user will have to right-click and choose "Save As"?
[ Parent
| on HN ]
Re:Blocking Top-Level Navigations to Data URLs for Firefox 58
by chrismorgan on Thursday November 30, 2017 @06:08PM
(#15820501)
I presume the `download` attribute will still work, as it’s not navigation:
<a href="data:image/svg+xml,…" download="filename.svg">
Re:Blocking Top-Level Navigations to Data URLs for Firefox 58
by tetromino_ on Thursday November 30, 2017 @06:35PM
(#15820659)
And that "I presume" instead of "I am quite certain" is precisely why I said I was worried about exactly how this block works. I will need to try with the beta, I suppose.
Re:Blocking Top-Level Navigations to Data URLs for Firefox 58
by potch on Thursday November 30, 2017 @07:31PM
(#15820978)
I can confirm <a download> links with data: URIs will work after this change.
I built a test to demonstrate: https://data-uri-test.glitch.me/
Re:Blocking Top-Level Navigations to Data URLs for Firefox 58
by tetromino_ on Friday December 01, 2017 @03:26PM
(#15827063)
Thanks for checking and the reassurance!