You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if adding this to the htaccess, the files aren't downloaded:
<FilesMatch "\.(?i:pdf)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
If looks like I can't force download from window.location.href, so I'm looking a way to act like the download attribute of a <a> link (which is working fine in modern browsers).
The text was updated successfully, but these errors were encountered:
Thoroughly Describe the solution you'd like
Download a file on click on suggestion.
Please provide a few use cases for this feature
Please Describe alternatives you've considered
My suggestions are download links, and this is my setup:
Even if adding this to the
htaccess
, the files aren't downloaded:If looks like I can't force download from
window.location.href
, so I'm looking a way to act like thedownload
attribute of a<a>
link (which is working fine in modern browsers).The text was updated successfully, but these errors were encountered: