The PDF file forced to be opened in html5 which there is no print or download button. How could I save it to my local computer?
The viewer looks similar to this one https://mozilla.github.io/pdf.js/
The PDF file forced to be opened in html5 which there is no print or download button. How could I save it to my local computer?
The viewer looks similar to this one https://mozilla.github.io/pdf.js/
Pdf.js documents can be downloaded by executing the following javascript from the browser search bar:
javascript:PDFViewerApplication.download()
Note that in order to execute javascript in the search, this feature must first be enabled:
If you see that website or application is using pdf.js
or id set to pdfViewer
you can follow following steps. To check inspect the PDF window with the dev tools.
Step: Go to dev tools on your browser and type the following command in the console.
PDFViewerApplication.download()
This will trigger the download automatically.