Hacker News new | ask | show | jobs
by blux 1678 days ago
Hear hear, the shortcut stealing is so annoying. Github for example does this; Ctrl-k is some search within Github instead of focusing the search bar in Firefox.

Then we have this option to disable shortcuts in sites which fixes this, but that also disables all shortcuts of the Vimium extension...I want to use an extension like Vimium so badly and its almost there but these little things make it that in the end the whole extension is unusable.

1 comments

Oh yes it is! Wouldn't it be easy to add an option to block this behaviour? Like a flag in about:config or something.
Yes, there is, to block this by default, set 'permissions.default.shortcuts' to 2.

I just found out that doing that does not prevent shortcuts from the extension to work contrary to what I just posted although I'm sure that when I tested this yesterday it did...:) So this is a step in the right direction.

Then I'm still left with sites stealing focus preventing shortcuts to work. Even though Vimium has an option to prevent sites from doing it, it is not fool proof. YouTrack/Upsource for example insist on stealing focus, so when I'm happily switching tabs using shortcuts as soon as I stumble upon YouTrack/Upsource I have to grab the mouse again :'(.