Purpose: a database viewer in a browser that has the zoom and drag / pan function (better if you enable hiding the save function) to replace the standard version of the browser
Problem: the entire browser (excluding the old IE) has its own pdf built-in to the viewer, without the drag / pan function
This code currently uses the default PDF viewer:
<object id = 'zoomPage' type='application/pdf' data= '1.pdf'> <p>The PDF can not display </p> </object>
Is it possible to force the entire browser (Chrome, FireFox, IE8 +) to use Adobe Reader to open a pdf file using javascript / jquery / html / php? Or is there any web-based function for viewing PDF functions that has the functions mentioned above?
Note:
For the first approach:
I found a way, for example. content-disposition: attachment
but this only changes the behavior from viewing to download pdf without changing preferences when opening a PDF file
source share