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

希望加一个加载完下一页后默认折叠,手动点击再展开的模式。 #835

Open
kingofotaku opened this issue Jan 25, 2025 · 2 comments

Comments

@kingofotaku
Copy link

kingofotaku commented Jan 25, 2025

Is your feature request related to a problem? Please describe.
用网页全文翻译插件时直接展开下一页会导致插件自动接着翻译下去,而很多时候我只需要看一页的内容,因此造成翻译额度浪费。

Describe the solution you'd like
A clear and concise description of what you want to happen.
增加一个默认加载or缓存,但不展开下一页的模式,如此一来如果真的需要接着看,点击展开也能迅速展示(但折叠状态下需要避免内容被诸如翻译插件之类的东西提前读到)。
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
目前要避免上述情况只能禁用自动启用模式,改成白名单模式。
Additional context
Add any other context or screenshots about the feature request here.

@hoothin
Copy link
Owner

hoothin commented Jan 26, 2025

可以这样设置:

  1. 禁止 打开页面后立即尝试翻页,否则滚动至页尾再翻页
  2. 改成 距离页尾 0.01 倍页面高度时就开始翻页

另外:沉浸式翻译滚动到可视区域才会翻译,因此不会浪费api额度。

@kingofotaku
Copy link
Author

可以这样设置:

  1. 禁止 打开页面后立即尝试翻页,否则滚动至页尾再翻页
  2. 改成 距离页尾 0.01 倍页面高度时就开始翻页

另外:沉浸式翻译滚动到可视区域才会翻译,因此不会浪费api额度。

感谢回复,我试了试发现长页面的确有改善,但在一两屏的页面上还是很容易一不小心就触发下一页。PS:我用的是划词翻译而非沉浸式翻译,所以基本上等看到间隔条就已经开始继续翻译第二页了。

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