Thank you for reaching out to us. Please check the following documentation. Let me know if this is what you are trying to achieve.
https://simple-download-monitor.com/how-to-open-downloads-in-a-new-window/
Kind regards.
@mbrsolution thank you for your reply.
I want a file in .pdf format (for example) to be displayed directly in the browser when I click on the button, rather than being downloaded.
Plugin Author
mra13
(@mra13)
By default, PDF files will open directly in the browser rather than downloading automatically. This is the standard behavior unless you’ve enabled specific options to force a download. The following documentation explains the options that will force a file. If you have enabled any of those options then it will force the file to download:
https://simple-download-monitor.com/force-a-file-to-download/
Additionally, ensure that the browser you’re using for testing doesn’t have a “force download” extension or setting enabled. If it does, the browser will prompt a download instead of opening the file inline.