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

不翻译 sciencedirect 的主要区域 #15

Closed
Andy-AO opened this issue Jan 12, 2023 · 17 comments
Closed

不翻译 sciencedirect 的主要区域 #15

Andy-AO opened this issue Jan 12, 2023 · 17 comments

Comments

@Andy-AO
Copy link

Andy-AO commented Jan 12, 2023

image

image

sciencedirect 网页的主要区域没有识别和翻译

links

@theowenyoung
Copy link
Contributor

有更新到最新版吗?我这是可以翻译的。

@Andy-AO
Copy link
Author

Andy-AO commented Jan 12, 2023

有更新到最新版吗?我这是可以翻译的。

确认版本是最新的

image

开启全部翻译就可以翻译了,如果不开启的话就翻译不了。我发现能识别成功,因为有动画,但是那个动画消失之后翻译没出现。

@theowenyoung
Copy link
Contributor

image

会是缓存导致的吗?多刷新看看呢。

@Andy-AO
Copy link
Author

Andy-AO commented Jan 12, 2023

image

会是缓存导致的吗?多刷新看看呢。

关闭缓存,问题依旧, 有对应网页的报错

image

@theowenyoung
Copy link
Contributor

deadline 错误只是缓存超时,不影响使用。

你可以看看对应网页里的 console 控制台的日志。

@Andy-AO
Copy link
Author

Andy-AO commented Jan 12, 2023

为了清晰过滤 Immersive,在末尾还放置一个没有过滤的

image

发现那些没有翻译的东西,好像的确识别出来了,它们在被选择的段落数组里


image

@theowenyoung
Copy link
Contributor

会不会是不同插件的相互影响?

@Andy-AO
Copy link
Author

Andy-AO commented Jan 12, 2023

会不会是不同插件的相互影响?

已经考虑该因素,所以在隐私窗口中进行过测试,那个模式中基本上没有可用的扩展和脚本,但是问题仍然存在。既然有这种考虑,我准备换个浏览器测试下,看看怎么样。

@theowenyoung
Copy link
Contributor

我复现了,似乎是自动翻译的时候,它会有问题。 但是整个网页加载完成后,手动点击翻译,或使用快捷键翻译,则结果正常。

@theowenyoung
Copy link
Contributor

我给这个网站加一个延迟应该就可以了,似乎是这个完成在首次加载完成后,又重新更改了布局。

@theowenyoung
Copy link
Contributor

好吧,似乎还是不行,而且好像还是浏览器相关,我用firefox测试是正常的,但是edge就无法渲染结果。我再研究下

@Andy-AO
Copy link
Author

Andy-AO commented Jan 12, 2023

我给这个网站加一个延迟应该就可以了,似乎是这个完成在首次加载完成后,又重新更改了布局。

我在chrome里面反而复现不出来了,然后我按照你你的说法,结果复现出来,的确在这个浏览器中会出现这种情况,而且每次都会出现手动就不会出现,我也观察到了布局的变化。

其他插件也有类似的问题,划词翻译在自动翻译的时候,这个网页中表现更差。

@Andy-AO
Copy link
Author

Andy-AO commented Jan 12, 2023

好吧,似乎还是不行,而且好像还是浏览器相关,我用firefox测试是正常的,但是edge就无法渲染结果。我再研究下

我现在想是不是应该放弃edge,😂

@theowenyoung
Copy link
Contributor

好吧,我忘记reload了,加了延迟2秒后,edge里也一切正常,我更新了规则,2分钟生效,然后在about页面刷新一下即可。

@theowenyoung
Copy link
Contributor

{
      "matches": "www.sciencedirect.com",
      "urlChangeDelay": 2000
 }

@theowenyoung
Copy link
Contributor

不过,下次遇到类似问题的时候,可以试试用 alt+a快捷键快速显示原文,然后再alt+a 显示翻译,这样一般就可以了。

@Andy-AO
Copy link
Author

Andy-AO commented Jan 12, 2023

不过,下次遇到类似问题的时候,可以试试用 alt+a快捷键快速显示原文,然后再alt+a 显示翻译,这样一般就可以了。

好的

按那个翻译全部区域的快捷键它就可以了。我报告的主要考虑是怕他潜藏的更严重的问题,毕竟bug早修的话可能会容易些。结果查出来可能只是浏览器的问题。谢谢啦,辛苦。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants