Is there any way to force the user's download-manager to start a download for .PDF instead of showing the .PDF in a new window/tab?
use the download attribute inside your <a> tag
<a>
<a href="content/file.pdf" download > pdf link </a> <a href="content/file.doc" download > doc link </a>
<a href="content/file.pdf" download > pdf link </a>
<a href="content/file.doc" download > doc link </a>
1.4m articles
1.4m replys
5 comments
57.0k users