-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Mark several occurrences of one word/expression #41
Comments
Hi AlphaHasi, |
Just did some research on how this feature could be realised. Unfortunately it's non-trivial: |
Thanks for the research! I have no idea about the browser's native APIs (as a developer I only worked for content "inside" the browser) and assumed it would be an easy thing to add. There was a popular add on "SearchWP", that was old type and had not a real replacement after the support was canceled. It is deleted from the servers now (and it is not the one plugin you find for WP on the internet). But I found another add on (now updated to new code) that can provide the functionality. Unfortunately it is not very stable (at least on my system) and does often not work at all, for example on WordPress pages, that have an user frame around the content (this typical grey border with your user name on top of each page after login). That was never an issue for the SearchWP add on. https://addons.mozilla.org/de/firefox/addon/highlightall/ If this would be complex to add and the result would be just unstable code, don't do it. Also the lack of others joining the topic might indicate the insignificance of this feature. |
I had a look at the source code of the cited addon just now - it is using the browser's find API for temporary hilighting and a |
ignore it -> close the topic -> 0 issues! :) |
:D I'll keep it open for now. There are a lot of things on the todo list but maybe I find the time some day to give it a go;) |
It would be nice to have the option to search for a term and then mark all occurrences. Especially for lists this could be helpful.
Workflow might be: select a word and then instead of „mark“ have a second option „mark all“.
(I know it is possible to highlight a sidewide search (strg+f) in the browser by default, but only for one search term at a time and only one default color.)
The text was updated successfully, but these errors were encountered: