Exploring Plain-Text Data URIs And The Anchor Download Attribute In JavaScript
66 بار بازدید -
6 سال پیش
-
Ben Nadel discovers that Data
Ben Nadel discovers that Data URI payloads do not have to be Base64-encoded when dealing with plain-text content. And, that this feature can provide a very easy way to prompt custom file downloads in JavaScript, using the anchor "download" attribute, without any server-side interaction.
Blog Post: https://www.bennadel.com/blog/3456-ex...
Blog Post: https://www.bennadel.com/blog/3456-ex...
6 سال پیش
در تاریخ 1397/10/20 منتشر شده
است.
66
بـار بازدید شده