Home
Security, Crypto, and Random Topics
Finding text using Firefox 3 
12th-Aug-2008 07:37 pm
There is a lot to love in Firefox 3. But one of the things I still struggle with is the Find Text feature. It just doesn't work the way I do and I don't think it's gotten much attention in years.

First, the Next and Previous buttons are backwards. See this page for a visual. But let's ignore that for a bit.

Second, Firefox always scrolls long pages such that the search string, if it appears on the page, is positioned at the very bottom on the page. Aren't there some better algorithms than that? It's often the case that the first occurrence of a word is the first of many occurrences, but all the subsequent hits are hidden below the visible window region. At a minimum, FF should scroll so the string is in the middle of the page.

Third, I'd like Firefox to highlight all occurrences of the word. Maybe my usage pattern is very different from most people, but I'd like to see all occurrences highlighted, and the "Highlight all" button removed. Why would you not want to see all the results? Search engines don't return one result and wait for you to say "Next". Further, sometimes the string is hard to see on web sites with strange color choices. I'd like to see someone come up with a way to make them more visible (without blinking, of course).

Fourth, I'd like for the the text I'm searching for to remain highlighted across page transitions. If I'm looking for a term on a page, and then click on a link to another page on that site, I'm frequently looking for the same term on that page also. So I hit "Highlight all" again, click to another page, click "Highlight all", and so on.

The Google toolbar does some of what I want, but it seems to only do it when I've sent the query string to Google. What about pages on my home or work networks?

I spend time each day trying to find the right stuff on a page. I'd like to see some real innovation for Firefox 4!

Is there a plug-in that I should be using?
Comments 
13th-Aug-2008 11:00 am (UTC)
Anonymous
This is the beauty of open source software.

You have everything you need to get FireFox to behave exactly as you would like (please share if you get around to implementing those features / changes, I am certain there are others who would appreciate them ;)
13th-Aug-2008 07:24 pm (UTC)
For what it's worth, Firefox 3 already has a "highlight all" option if you use ctrl+f to search. The option appears to stick to "quickfind" searches as well.
13th-Aug-2008 10:07 pm (UTC)
Anonymous
1. Seems to be a Mac only thing? It's mac-logic? ;P

2. Absolutely, file a bug report and link to it from here. https://bugzilla.mozilla.org/

3. background: rgba(96,96,96,0.5) or outline: 1px dotted red; :)

4. See 2.

14th-Aug-2008 03:20 am (UTC) - Highlight all
Anonymous
Bob,

The Firefox 3 highlight all implementation is really slow (seconds to tens of seconds on a reasonable size page) and modifies the DOM (so can break sites). Turning it on by default was a non-starter.

Firefox 3.1 will have a better implementation, that might be worth considering for a on-by-default behavior.
14th-Aug-2008 03:38 am (UTC) - Re: Highlight all
That's a fair point. I've noticed that performance problem when I accidentally searched for a space or the letter e. ;-)

There are probably many ways to be much smarter. For example, waiting until I type two or more characters, stopping at 50 hits, slowing down when the hits will be off the visible screen, etc. I'm sure someone would be able to improve the overall experience short of actually fixing the performance problem.

I've also been playing with Garage Band on my Mac, and there are some very interesting UI techniques for having a limited-sized scrolling window move to match the timeline bar without any rapid jumps. I wonder if those ideas could be applied to scrolling and searching in FF.

I'd also like to see some way to have FF point out words on a hit list. If I'm reading a page about NSS, and there happens to be a reference to Red Hat, or Firefox, I'd like to see that subtly brought to my attention. Even better than having me create this keyword list by hand would be for FF to learn from what I search for, as well as from other sources, like my Thunderbird email. This is probably a hard problem to solve, and even hard to iron out the privacy edge cases, but maybe someone is up for the challenge. ;-)
15th-Aug-2008 04:34 am (UTC) - Re: Highlight all
Anonymous
You kiddin' me? Sheesh, I read your post and started a search with highlight all on. I typed 'f' and stopped. I thought the browser was going to pop.
I got a beach ball (hour glass to you PC types) and eventually Firefox asked me if I wanted to stop the unresponsive script. Made me thankful for that feature.
30th-Aug-2008 03:25 pm (UTC) - smartfind
Anonymous
maybe it can help to improve you experience (?)

http://tonikitoo.blogspot.com/2008/08/smartfind-for-firefox-3.html

--Antonio Gomes
1st-Sep-2008 06:37 pm (UTC) - Suggesting words
Anonymous
Hi, boblord!
We've developed an extension (in continuous improvement, and experimental yet!) named SmartFind https://addons.mozilla.org/en-US/firefox/addon/8497

About this post, I don't know if it's interesting to you, but is an alternative.

The objective is suggest to the user, the most similar word existing in the page.
You could try and, if you want, feel free to give us a feedback!

BR,
Betito (betito.oliveira@gmail.com)
This page was loaded Nov 9th 2009, 8:21 pm GMT.