brookhong / Surfingkeys

Map your keys for web surfing, expand your browser with javascript and keyboard.
https://chrome.google.com/webstore/detail/surfingkeys/gfbliohnnapiefjpjlpjnehglfpaknnc
MIT License
5.39k stars 479 forks source link

Scrolling with j, k... not working in PDFs #281

Closed idr4n closed 7 years ago

idr4n commented 7 years ago

Hi again,

I'm wondering if there is any way around this issue. Vimium does not work with PDFs at all, but I just noticed that some features of Surfingkeys do work in PDFs (in the default Chrome PDF viewer, that is), for example opening the Omnibar or switching tabs... (I tried it in this website)

It would be great if we could scroll in pdfs as well and even use f to open content in the pdf (Vimfx in Firefox allows for all this, but may be this something specific to the browser and not the extension itself).

Thanks in advance!

EdwinVanRooij commented 7 years ago

Not an ideal solution, but the way I work around this currently is by converting the PDF file as a whole.

I've found this website to be useful for this task: http://www.zamzar.com/

brookhong commented 7 years ago

Thanks to pdf.js, this is implemented in 0.8.4.

Please have a try.

idr4n commented 7 years ago

It's working great. Thanks a lot!

maximbaz commented 7 years ago

Nice work @brookhong!