philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.21k stars 2.48k forks source link

What is the definition and satisfying use case of focus/hover? #3659

Open 22csnyder opened 4 years ago

22csnyder commented 4 years ago

I just don't get it, and I don't want to miss out on any functionality!

It's hard to google. Maybe it's the kind of thing everyone knows and doesn't write down.

Can you motivate the LinkHints options NewTab action=focus and action=hover?

If it can't trigger the hover text for a xkcd comic, then what's the point? :)

gdh1995 commented 4 years ago

It calls target.focus() or dispatches simulated "hover" events to targets, so that a page's scripts will receive these messages, and if a page feel like, it can do any actions on such messages. Therefore, if a page doesn't handle them, then nothing will happen.