-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
How to hint elements with only mousedown listeners #98
Comments
What does "two clicks" mean? Does it require you to double click using a mouse? / Vimium C want you to press two letter keys to select the link? |
Yeah, I mean when the normal action would be clicking twice with the mouse to execute the action... It usually happens on web applications when I have an icon that requires two clicks to execute an action. When I use F in these situations Vimium C doesn't show the letter keys for the places that require two clicks to activate. In the development perspective, I don't really know if it'd be something hard to implement though... |
Update: Sorry but currently Vimium C can not tell from what nodes are "dbl-clickable", so it's another problem if Vimium C doesn't show hints for some nodes. Could you show me a demo page of your case? Try |
Thanks for the tip, but it still doesn't work for my case... Probably it's something with the web application that I'm using. Look: Those dark and light orange nodes in the middle all open with two clicks, but Vimium C doesn't recognize them as clickable elements. Do you have any idea of what could it be? |
Well, there're always some nodes that can not be found by web extensions, so could you give a demo URL? I'll test it in rest time. |
Please try this version: vimium_c-1.79.2-fx-ca13fdd.zip Chrome can load extensions on Added: although now Vimium C will hint those dbl-clickable, but the default action of |
Exactly what I needed! Thanks!! It's also catching the connection dots now but that's not necessarily a problem for what I'm doing... Could you tell me in which file you create the rules for finding the clickable elements on the source code? I could try doing some changes myself too. |
For common web developers: an easier and costless way to notify Vimium C that an element is clickable is to add As for Vimium C itself:
For this issue, your demo page uses a lot of mouse events to compute double click (instead of a This detection is through
On Firefox |
Thanks for the detailed explanation... I've invested some time on trying your first advice... I've created some sample webpages with I've managed to find on the source code of Node-RED the part of the code where the element is created, so I've added I don't really know what's getting wrong here. I don't know if there's something wrong with my expectation of how it should work, if on Node-RED the (I've updated the demo link from the first time with the role="button" too) |
Sorry for my mistake: currently For SVGElement nodes, the released version only checks whether [onclick] is not empty and some others, so you may add |
It worked! My issue was completely solved by adding |
I'm rewriting on this issue because something has changed on my Firefox extension after the last update (1.79.3)... Now it's detecting the dots as it was on that version that you sent me: My chrome extension that is not yet updated is still normal (1.79.2): Have you added the mousedown click event on the official version that is now published? I can get the version v1.79.2 getting the git link and regressing the version on the source code... Could you give me a brief explanation or a link with information of what I have to do to "compile" a Firefox extension from source? |
Yes, it collects all with mousedown listeners now. The one on Chrome Web Store is being verified so what you see is still the old v1.79.2. Do you mean you want "some" in those with If you're familiar with DOM programming, I recommend another way:
BTW, |
Actually, the version v1.79.2 worked perfectly for me as it was... I had changed the Node-RED code to include |
It's "possible" to some degree: when in LinkHints mode, press |
It doesn't really work for my case... Is the mousedown event really necessary? Couldn't those extra click events that were added work inside an extra configuration instead of being the default ones? |
Please wait a newer version and I'll exclude those SVG elements with |
Ah, so there's a way to disable elements as well... I could solve that directly on that app too. But meanwhile, could you send me a zip file of Firefox for the version v1.79.2 please? I've tried to compile the source code as explained on the main page but I get an error on |
Oh, please run The |
Sorry about my silly mistakes... Do you mean just
I've installed all the gulp dependencies he asks along the way... Then it says that everything is ok but no |
The zip file is not needed - you can load from Maybe you need to create |
My mistake... I was checking for |
Hello, Vimium C v1.80.0 has been released on Chrome Web Store, so you may add |
Thanks, I'm still using the version 1.72 these days as it's working perfectly for what I'm doing. However, is it possible to attribute As web applications may have very particular ways of creating clickable elements and as not all of them are open-source like Node-RED where I can change the source code, I think that having a functionality inside Vimium C where I can choose different rules for elements that exist on specific pages could be useful... Is it already possible? |
Currently Vimium C has no options to exclude some specific elements. As for a block list of element selectors, it is easy to implement a naive one, but I can not predict or judge the potential performance loss, mismatching percentage and usability (for some nodes there may be no selector to identify them exactly). Similar discussions have occurred on the Vimium project, and no (positive) decision has been made. |
Hi,
I've been using Vimium-c for a while and it really helps with my productivity. However, there are some specific situations that it'd be useful for me to see the elements ( with f) that require two clicks to take an action... Is it possible to configure this functionality on Vimium-c? Or doing that would involve changing something inside the source code?
The text was updated successfully, but these errors were encountered: