title: How to prevent PDF files from automatically downloading
body: <p>i want to display pdf files in my website but unfortunately it will automatically download by idm.
  here's my code:
  $</p>
  
  <pre><code>    &lt;div class="viewerthesispdf"&gt;
      &lt;div id="viewer" class="pdf-viewer" data-url="&lt;?php the_field('upload_pdfACField'); ?&gt;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p></p>