mozilla/pdf.js — Issue #750: Integrate pdf navigation with browser back/forward
Author: cgjones
Created: 2011-11-03 08:35:22+00:00
State: open

If I click an internal link in a PDF in the Firefox extension, then I jump to the link target. Cool!

But if I press Back in my browser toolbar, I don't go back to my previous position.

I've never used a PDF reader that implemented this feature, and it's bugged me forever. I think this would be totally killer in pdf.js. It seems like this should work; links are encoded with #foo to mark position "foo". However, the URL doesn't update when I go to #foo. This might be a quirk of the Firefox extension. If that can't be fixed, a way to work around it might be the History API (https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history).