javascriptgoogle-chromepdf-reader

Google Chrome PDF Viewer API?


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?


Solution

  • 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.