-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
In find mode, highlight all matches on the page, not just the current #591
Comments
Not at the moment. I think we'd accept a patch if it didn't cause noticeable lag. |
This would be a fairly large undertaking -- assuming we still use window.find() to perform the search, we'd need to call it repeatedly to surface all matches and then show our own highlight UI. If we end up going through that trouble, we should rip off Safari's matches aesthetic, IMO. |
+1 for this feature. |
+1 Vimium is awesome! This is the only missing piece as far as I'm concerned. |
+1 for this feature. I actually wanted to suggest this myself, but I had that "I can't be the only one" feeling. |
Yeyahh! |
+1 |
1 similar comment
+1 |
If/when this gets implemented it would also be nice to see all the matches visually marked in the scrollbar like Chromium does. |
+1 |
Recently found out about vimium, can't believe I haven't installed this sooner. +1 |
+1 |
2 similar comments
+1 |
+1 |
+1 |
+1 |
please STOP replying with useless +1 comments. it does not add anything to the discussion, and will waste a lot of people's time since they will get notifications of your useless "contribution". use the "watch" function to subscribe to a ticket. |
+1 |
+1, the default chrome behaves highlighting all matched hit. If implementing it again would be a performance issue, is it possible to directly call chrome's search? |
No. To implement something like this would want something like (an updated) #1081 so the browser doesn't hang on every search, which increases the development/maintainance burden substantially. |
Closing. (Vimium doesn't actually do the highlighting at all, currently. We just call |
4 years... |
+1 This is really a great feature if it can be implemented. I did some research. This seems to do it http://stackoverflow.com/a/5887719/96100 (the solution includes IE, so it can be further simplified by removing the IE part) But I think there's a further question - when and how to remove the highlight. For when, I think when starting the next search or when executing something like Really look forward to the feature. |
This is needed and not sure if it's suppose to be a vimium-specific feature, but other vim-like extensions do this (like surfingkeys for example). It's already been nearly 5 years and this feature isn't here yet. What in the world is going on? |
This solution seems to involve inline modifications to pages' DOMs, which makes me very uncomfortable.
This is hard to do properly (or, at least, to my satisfaction). A complete implementation would have to
We can use the My suggested (lazy) approach for that would involve a kind of poor-man's binary search, creating |
Seems like this is a highly desired feature, but perhaps all of the requirements taken together are too large to tackle. Perhaps a smaller set of sub-steps might make this more accessible. |
+1 |
6 years later, I still hope to have this feature |
|
The extension |
It seems not only me have this issue. |
I also do some research on window.find(). It only highlights the current result on the web, not highlights all the result. Maybe call the method multi times? I think it's not a good idea for this issue. |
how about this routine? in find mode, before users hit the enter key, only call window.find() once for each updated input. after use hit the enter key, call window.find() to show all occurrences. |
|
Hi, Let me be more clear about my routine. User type |
@Piping |
Disclaimer: I no longer work on browser extensions in any form, so my knowledge is likely out of date.
When I was a contributor, we battled over counting the number of search results because of how slow it was on large pages. Using |
@gdh1995 I don't meant to use |
Is there anything other than a philosophical reason why the extension can't just allow this type of feature, and tuck it into an "experimental" section of the extension's settings, with proper warnings in place noting that it may break some pages? This seems like enough of a popular request that it'd make sense to add it there. I've been quite happy with the extension "Selection Highlighter" for example, despite the fact that it might break pages, simply because the utility outweighs the risk; I think the same applies here. |
+1 around here. :) |
I echo macintaco's sentiments. I use vimium search as a replacement for the find tool so that I can keep keyboard shortcuts uniform across different installs (always use / to find stuff). |
+1 |
Firefox has |
I'd just like to note that SurfingKeys highlights matches on the page via its search functionality. I don't know how they do it (it seems to be some kind of overlay) but it's "good enough" to the point that I'm using that extension instead now. YMMV. |
+1 - wish there was at least a workaround for this. |
8 years... :) |
Recently I got another idea: it's not necessary to draw the highlighting background color, and we may use masking rects instead. Therefore I've implemented a simple version in my customized Vimium, Vimium C, and it supports |
I find a way to solve this by combing another chrome extension "selection highlighter" Selection Highlighter Options. |
+1 |
In chrome find mode,it can highlight all match word in the page
Can vimium also do this?
The text was updated successfully, but these errors were encountered: