html - html5 download attribute works but file renaming doesn't -


i've come across problems regarding download attribute of html5. found is: supports download attribute expected in chrome firefox. value of attribute don't outcome expected on both browser. first on chrome, doesn't rename file. on firefox, renames doesn't include extension.

<a href="pdf.pdf" download="myfile">download file</a>

in firefox, if download="myfile.pdf", works. shouldn't work without extension. , problem chrome because read somewhere chrome supports download property.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -