Is it possible to link to a bookmark within a PDF using URL parameters?


Answers

RFC 3778 section 3 specifies "Fragment Identifiers" that can be used with PDF files, which include nameddest and page.

Question

When providing a link to a PDF file on a website, is it possible to include information in the URL (request parameters) which will make the PDF browser plugin (if used) jump to a particular bookmark instead of just opening at the beginning?

Something like: http://www.somehost.com/user-guide.pdf?bookmark=chapter3 ?

If not a bookmark, would it be possible to go to a particular page?

I'm assuming that if there is an answer it may be specific to Adobe's PDF reader plugin or something, and may have version limitations, but I'm mostly interested in whether the technique exists at all.




It's worth adding that Wayne's solution also works in:

  • Chrome (since v. 14 from 2011, see this issue for details) (tested on v. 44),
  • Firefox (tested on v. 40),
  • Opera (tested on v. 31),

...BUT it doesn't work in:

  • Safari (v. 8) (but there is a feature request for it in Apple's Safari bug tracker)



Related