Rectangle 27 0

javascript View PDF files on a Web page without downloading?


Here is a pdf viewer in javascript and html called pdf.js. However, in order for the pdf to get to the browser, it will still need to be downloaded.

There is no way to display something in a browser without downloading it. It may take a bit of work to find the original asset (looking through the network tab in chrome dev tools) but the original pdf will still be downloaded.

Note
Rectangle 27 0

javascript View PDF files on a Web page without downloading?


Thanks but the problem is that its working good in Chrome and Firefox but not so well in Internet Explorer and Safari. Have not tried Opera.

Note