Google Chrome PDF Viewer API?

Ebrahim Byagowi picture Ebrahim Byagowi · Jan 8, 2013 · Viewed 16.9k times · Source

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?

Answer

Sudarshan picture Sudarshan · Jan 8, 2013

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.