Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sci-hub网站的【在划词翻译中打开此PDF】失效 #1160

Closed
lmk123 opened this issue Sep 12, 2021 · 1 comment
Closed

sci-hub网站的【在划词翻译中打开此PDF】失效 #1160

lmk123 opened this issue Sep 12, 2021 · 1 comment
Milestone

Comments

@lmk123
Copy link
Member

lmk123 commented Sep 12, 2021

基本信息

划词翻译版本:v8.5.6
浏览器版本:Chrome 93
操作系统:win10

重现问题的步骤

  1. 打开 https://sci-hub.se/10.1016/j.rvsc.2019.10.011
  2. 鼠标右键点击网页的 PDF 区域,选择【在划词翻译中打开此pdf】

预期行为

弹出划词翻译的内置pdf阅读器然后显示此PDF

实际行为

弹出的内置pdf阅读器报错了:载入 PDF 时发生错误。

@lmk123 lmk123 added the bug label Sep 12, 2021
@lmk123 lmk123 changed the title 【在划词翻译中打开此PDF】失效 sci-hub网站的【在划词翻译中打开此PDF】失效 Sep 12, 2021
@lmk123 lmk123 added the PDF label Sep 12, 2021
@lmk123
Copy link
Member Author

lmk123 commented Sep 12, 2021

有两点变化:

  • sci-hub 以前是用 iframe 嵌入 pdf 的,现在改为了 embed
  • Chrome 自带的 pdf 阅读器改版了,关闭“自动打开”后直接在浏览器里打开一个 pdf 文件 https://cses.fi/book/book.pdf 然后【在划词翻译中打开此PDF】也会出现同样的问题

@lmk123 lmk123 added this to the v8.6.0 milestone Sep 16, 2021
@lmk123 lmk123 closed this as completed Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant