I was wondering if it is possible to make the browser (at least Chrome) load the data:text/plain URL.
Chrome downloads binary URLs (e.g. data:application/zip;base64,... ), but doesnβt download files that can be viewed inside the browser (e.g. text files).
What I already tried, so far with no luck:
data:text/plain;content-disposition=attachment;filename=test.txt;...
But it seems like I cannot add such headers.
Is there a way to get Chrome to load the data:text/plain,... URL?
file text download content-disposition data-url
pimvdb
source share