philc / vimium

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

Suggestion: Mouse hovering #484

Open nivekmai opened 12 years ago

nivekmai commented 12 years ago

It would be awesome to have the ability to "hover" the mouse on a certain link. Lots of newer web pages have dropdowns/hover scripts that are only visible when you hover the mouse over a link (as an example, put your mouse over the "Watchers" button, and the "Watchers" tooltip expands from it.

deiga commented 11 years ago

while playing a few minutes on Github I was able to trigger some hover effects with $('<selector>').trigger('mouseover')

manishie commented 11 years ago

I agree, this would be great!

ejoubaud commented 11 years ago

+1 :)

mcginty commented 11 years ago

+1!

ElijahLynn commented 11 years ago

Yeyahhh!!

kyleshrader commented 11 years ago

Yes please. :)

antonpetrovmain commented 10 years ago

+1 (:

devou commented 10 years ago

++

joaquindev commented 10 years ago

+1

Supernats commented 10 years ago

:+1:

daveshah commented 10 years ago

+1

mrmr1993 commented 10 years ago

+1 Implemented at PR #1032

rohitpujar commented 10 years ago

+1. When can I expect it?

lethjakman commented 10 years ago

+1 Would use daily.

shahverd commented 10 years ago

Sometimes hover needs to be triggered not only on links, but other elements like images or texts

smblott-github commented 9 years ago

835 looks promising for this issue.

mrmr1993 commented 9 years ago

@smblott-github I've also implemented this at #1032, but with "unhovering" too. This ensures that only one element is ever hovered at any time, by providing a mouseout event to the last hovered element (and provides a command to trigger this manually).

A good example of when the last hovered element should be "unhovered" is the movie images on this IMDb page. Clicking/hovering more than one of these successively with LinkHints.activateModeToOpenInNewTab, LinkHints.activateModeToOpenInNewForegroundTab, or #835's LinkHints.activateHoverEffectMode highlights the issue nicely.

manishie commented 9 years ago

FYI to everyone following this, here are some hints on getting this working: https://github.com/philc/vimium/pull/1032#issuecomment-60500519. Works great! @mrmr1993 Thanks for the work.

darth10 commented 8 years ago

+1

mieubrisse commented 8 years ago

+1

darshandzend commented 8 years ago

+1

Would even be happy to help if you need any

purplehat7 commented 8 years ago

+1

pratyushwy commented 8 years ago

+1

wcpines commented 8 years ago

+1

muriloime commented 8 years ago

This would be an awesome feature.

karlsebal commented 8 years ago

+1

FrankMejzlik commented 8 years ago

+1 Yeah, this would be absolutely amazing. And also feature for focusing that link would be awesome.

For example I need to access volume slider on youtube - I'd target it with focus and then set up volume with arrows (maybe there is another option, but I didn't figure it out yet).

tongc commented 8 years ago

+1

deiga commented 8 years ago

If you've got nothing meaningful to add other than "+1" add the emote to the Original Post. This way we don't get unnecessary notifications.

GummyDonut commented 8 years ago

+1

RamAnvesh commented 7 years ago

Hi, What is the status of this issue?

smblott-github commented 7 years ago

It's unlikely to become a whole new command.

I'd like to do it via a command option (see option B in #2319).

nopper commented 7 years ago

Is there any update or plan to support this feature, since it keeps popping up in multiple issues over time?

tshakah commented 6 years ago

This is the feature I miss most from VimFX - being able to ef and focus pretty much anything on the page

prestancedesign commented 6 years ago

@tshakah It's one of reasons I moved to https://github.com/brookhong/Surfingkeys which permit this with Ctrl+H. By the way, Vimium still is a great extension. ;)

hacksman commented 6 years ago

+1

A1vinSmith commented 5 years ago

@tshakah It's one of reasons I moved to https://github.com/brookhong/Surfingkeys which permit this (Ctrl+H). By the way, Vimium still is a great extension. ;)

so how did they implement this?

prestancedesign commented 5 years ago

@A1vinSmith You can check the code here https://github.com/brookhong/Surfingkeys/blob/be08a74e2cd342dd39e161b7d35070e324633369/pages/default.js#L145 and specially the dispatchMouseClick function https://github.com/brookhong/Surfingkeys/blob/a948e73f3c263a91e3db5e05066e1f1751cfb983/content_scripts/hints.js#L566.

A1vinSmith commented 5 years ago

thank you @PrestanceDesign, cheers man

vctls commented 4 years ago

It doesn't work that well on SurfingKey either, though... https://github.com/brookhong/Surfingkeys/issues/961

hjek commented 3 years ago

Extended hint mode, like ;y, in Tridactyl sort of does this, by copy-URL-to-clipboard and other actions. Vimium is awesome too. Edit: And yf does the same in Vimium, apparently.

gdh1995 commented 3 years ago

Hello all, #3097 has been merged, so map X LinkHints.activateMode action=hover (, action=focus, and action=copy-text) should work now.

mmikeww commented 7 months ago

issue should be closed, see comment above, #3097 works, solution is added to wiki here: https://github.com/philc/vimium/wiki/Tips-and-Tricks#hovering-over-links-using-linkhints

chenzhekl commented 3 weeks ago

I feel #3097 did not fully solve the problem. For example, I added the following mapping to Vimium

map zf LinkHints.activateMode action=hover

On CNN, when I hover over the More on the header, it should display a drop-down menu. However with zf, no drop-down menu appears.