5

It is well known that Google can load PDF files properly, via PDF Viewer extensions.

My aim is to open a PDF file, and use the extensions like Google Dictionary, dict.cc, Google Translator on this file. These extensions work like this: You select a word by double clicking (just selection is enough) and its description pops out immediately.

No matter which extension I use, this function seems to work on only web pages, and not on PDF files, even though they both contain selectable text.

Is there any way to get these extensions to cooperate properly?

Update:

In JIRA(Atlassian‘s agile software development web-based software), I have noticed that when one clicks to view an already uploaded PDF, the software brings the PDF in without opening a new tab, like a single page application does. I have tested Google dictionary and Google translator there, and they function pretty well. Thus, a possible way to deal with the issue would be to find an extension which runs the PDF like a single page application in a web page.

  • Just a guess, but I'd say the reason it doesn't work from a PDF is because JavaScript doesn't execute on a PDF like it does on a web page. – freginold Sep 7 '17 at 14:26
1

try using mac osx instead.... I guess there's no way easy to solve this, except altering chrome's source code to replace the adobe pdf plugin.

"Due to technical restrictions, you cannot select text and translate it by a shortcut in PDF files in any browser. Unfortunately, we can do nothing with this. However, in Google Chrome you can select text and translate it instantly from the context menu." ----matetranslate.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.