It is possible to talk to Chrome PDF Viewer(mhjfbmdgcfjbbpaeojofohoefgiehjai) from user-created extensions?

659 views
Skip to first unread message

Brook Hong

unread,
Jan 5, 2016, 4:44:02 AM1/5/16
to Chromium-dev
I found there is a function named handleScriptingMessage in chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/pdf.js, but it only handles four messages 'getAccessibilityJSON'/'getSelectedText'/'print'/'selectAll'. It would be helpful if it handles sendKeyEvent too.

Why I need this?

I created an extension -- Surfingkeys(https://chrome.google.com/webstore/detail/surfingkeys/gfbliohnnapiefjpjlpjnehglfpaknnc) to control the web browser with keyboard, which works for html pages. But I'd like it works for pdf docs in the browser too.

Reply all
Reply to author
Forward
0 new messages