ninja33 / ODH

A chrome extension to show online dictionary content.
MIT License
1.39k stars 239 forks source link

用Chrome 打开本地PDF 文件不能取词 #188

Open thanxsl opened 3 years ago

thanxsl commented 3 years ago

打开其他网站都能取词,但是打开本地pdf就去不了词了。烦请解决 万谢!!

ninja33 commented 3 years ago

去这个网站:https://mozilla.github.io/pdf.js/web/viewer.html ,点击右上角的菜单栏打开本地pdf文件就可以划词了。

浏览器自带的pdf阅读器不是网页,和划词插件是运行在两个沙盒里的,所以划词插件不能去到pdf的内容。用pdf.js网站,把pdf转换成一个网页形式就可以划词了。

发自我的iPhone

在 2021年3月10日,02:38,thanxsl @.***> 写道:

 打开其他网站都能取词,但是打开本地pdf就去不了词了。烦请解决 万谢!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

thanxsl commented 3 years ago

谢谢!真的work了!

只是这种打开方法的PDF分辨率比较低,在线助手识别单词的准确率有点降低了 延迟也长了。。

johan456789 commented 2 years ago

This should be closed.