Chrome – change page navigation keys in pdf viewer

google-chromekeyboardpdf

Google Chrome have integrated pdf viewer, the pdf.dll (PPAPI plugin; https://support.google.com/chrome/answer/1060734?hl=en; this software is not open-source but proprietary: https://code.google.com/p/chromium/issues/detail?id=50852#c16). After updating Chrome to 41.0 (pdf.dll version 41, filesize 9279304, md5 ad35b56874ae2f4d3350523c4a1fede5), this plugin changed settings for the keyboard keys like arrows (left, right).

There are PgUp and PgDown keys, which scrolls viewed pdf by one screen up or down. In previous versions (even in pdf.dll version 40, filesize 9171272 bytes, md5 8b56fcfcb0f84733070d97d39fbcd2f6) arrow keys (left and right) allowed to scroll exactly one page (previous page / next page). It was useful for viewing presentations – with any zoom level you can use Right arrow key to go to the next slide, and it will begin at top of screen. When you use Page Down key, the top of page (slide) is not synchronized with top of screen, if the page was not zoomed to have height of some unknown part of the screen (it is impossible to zoom it to have pgdown work as Right arrow key).

Is there any way to restore functionality of left/right arrows of integrated pdf viewer in Chrome, without switching to other binary pdf viewers??
Or is there any other way how can I navigate between pages with every page starting at top of the screen?

Can I migrate from proprietary binary pdf viewer plugin to some open-source pdf viewer, for example to pdf.js (how to integrate pdf.js with Chorme on Windows?)

PS: It is possible to copy older pdf.dll to the application directory of the newer Chrome as temporary solution…

Best Answer

Seems to be fixed in Chrome version 42 (april 2015) and its pdf plugin.

So, arrow keys to navigate between pages where broken only in pdf plugin of Chrome version 41 on Windows platform (march 2015).

Bugs about this: https://code.google.com/p/chromium/issues/detail?id=455902&

PDF - left and right arrow keys to jump slides no longer work

Fixed by https://codereview.chromium.org/959443003/

Issue 959443003: Fix left/right keyboard scrolling in PDFs (Closed)

https://chromium.googlesource.com/chromium/src/+/7593306a8770d5fd7d884532a6dd012df55b4d7f

Diff of chrome/browser/resources/pdf/pdf.js (?): https://chromium.googlesource.com/chromium/src/+/7593306a8770d5fd7d884532a6dd012df55b4d7f%5E%21/#F0

Related Question