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

能不能设置快捷键? #141

Closed
drcege opened this issue Jun 11, 2018 · 5 comments
Closed

能不能设置快捷键? #141

drcege opened this issue Jun 11, 2018 · 5 comments
Labels
enhancement More bugs.

Comments

@drcege
Copy link

drcege commented Jun 11, 2018

  • 平台:包括操作系统和 Chrome/Firefox 版本(或者其它浏览器版本)
    Windows 10 / Chrome 66.0.3359.181

  • 类型:建议
    能不能给每个操作设置快捷键?我经常使用网页翻译功能,但是必须得用鼠标右键页面空白,或者右键右上角图标,比较繁琐。

比较方便的方式是:

  1. 可以给每个操作设置快捷键
  2. 右上弹框 可以设置为网页翻译,点击图标即可网页翻译(很多其他扩展都是这样的)。目前只能设置预加载 剪贴板页面划词
@crimx crimx added the enhancement More bugs. label Jun 11, 2018
@crimx
Copy link
Owner

crimx commented Jun 11, 2018

你好,快捷键原本是等 Firefox 支持完善了再加,既然有人提到了可以提前在 Chrome 上实现。最近有点忙,有空再加上去。

@drcege
Copy link
Author

drcege commented Jun 11, 2018

😄 其实我比较喜欢第二个方案,这样只用鼠标也很方便,而且实现起来也比较简单。

@crimx
Copy link
Owner

crimx commented Jun 12, 2018

嗨,经过调查,第二个方案是无法实现的,因为设置了弹框后不能再监听点击并抑制弹框。

@drcege
Copy link
Author

drcege commented Jun 12, 2018

好的 ^_^

我没开发过chrome扩展,只是感觉一般情况下,如果能监听到点击,然后可以手动触发弹框逻辑 …… 我就随便说说😝

crimx added a commit that referenced this issue Jun 12, 2018
@crimx
Copy link
Owner

crimx commented Jun 12, 2018

新版已添加

@crimx crimx closed this as completed Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement More bugs.
Projects
None yet
Development

No branches or pull requests

2 participants