Is there any API for interacting with Google Chrome PDF Viewer, pdfium? Like reading page number of current page or setting current page (like Adobe #page=10
) or a supporting library like PDFObject for doing these?
Chrome PDF Reader supports #page=X
as a postfix to the URL in order to jump to a specific page in a PDF document
Say you are reading a page at https://www.example.com/examplePDF#page=4
it opens page 4 directly.
If your goal is client side pdf viewing using js, you might want to take a look at PDF.js It is even open source.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With