Is there a way I can prevent IDMs from auto downloading pdfs on any user's PC that is using my Website

320 Views Asked by At

I'm developing a react app that is to be used by students to access reading materials, I'm using React-pdf-viewer to view documents and it's all working fine but for users with IDM extension on the pdf doesn't load in the viewer but instead it gets captured by IDM and prompt the user to download instead. I'm serving the pdf to the react-pdf-viewer as URL from my server. Is there a way I can prevent any IDM from auto downloading the pdfs. Thanks in advance

0

There are 0 best solutions below