-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
使用F点击链接未在后台打开 #2
Comments
能说下你用的Vimium++的版本、是哪个url上的哪个超链接,和Chrome版本吗? |
基本上是所有超链接哦。使用的是 58.0.3014.0(正式版本)canary (64 位) |
使用的是Vimium++的master版还是应用商店版?版本号显示的是1.58beta吗? |
应用商店版 1.58beta |
我刚在Chrome 58.0.3013.0 x64上测试了master 和 应用商店版,在空配置时 Chrome下载自https://api.shuax.com/tools/getchrome |
发了一段视频到你邮箱里面,你看下吧。我这边用的mac,难道是这的原因吗? |
经测试这问题在window下的chrome不存在,应该是系统差异。 |
我没收到邮件,mac我没法测试,你可以用developer tools来debug下content/link_hints.js里的DEFAULT.activator,看看this.mode和onMac是多少。 Vimium判断了Mac系统,如果是mac则会使用metaKey,windows下用ctrlKey,来模拟单击链接。你试试你的Mac下“metaKey+鼠标左键单击”能不能触发”后台创建新标签页打开网址“吧。 |
确实是你说的原因,我fork一个来改改,谢谢了。 |
这个地方不太好轻易改,你能测试下Chrome55/56下的情况吗?需要确定这个问题是一直有还是某些个Chrome版本后才有。而且金丝雀/dev版改动很频繁,有可能过几天这个问题就被Chrome给抹平成不存在了,最好在stable版本上确认下。 |
另外这个项目现在用了typescript,如果你不方便安装,可以把1.57.6这个tag给checkout出来,那个版本应该还是全javascript的,然后再修改。 另一种方式是,把github上release的1.57.6的crx文件解压了,然后改js文件,改好之后再去改git仓库里对应的位置并提交。 或者就安装typescript吧,不过官方的typescript在编译的时候会报一些error,不用管。 |
稳定版中测试问题依然存在,应该是win和osx的键位设置不同所致。 |
so a same key may be used to "disable" Vimium C and then re-enable it. * here the action "disable" will set passKeys to the "only-hooked" mode as said in point #2 of #55 (comment)
默认状态下vimium的f和F逻辑是"在当前标签页打开链接"和"新建标签并在后台打开链接",但在使用vimium++的时候感觉存在bug,使用F不是新建标签并在后台打开,而是新建标签后跳转到新建的标签。
重新绑定LinkHints.activateModeToOpenInNewTab后未解决问题,感觉是函数有错误。
The text was updated successfully, but these errors were encountered: