27

Chrome shows positions of results from "Find in this page" on the scroll bar (see the orange lines on the scrollbar on the right). How can I enable the same feature in Firefox (72.0.2)? enter image description here

0

4 Answers 4

7

It's now possible in Firefox 87.

However: it only works for web pages and not for PDFs, unlike in Chromium Edge for example.

References:

The “Highlight All” feature on Find in Page now displays tick marks alongside your scrollbar that correspond to the location of matches found on that page.

Thought it might be fun to implement this during the break. With the above patches, the tick marks are drawn in a window's scrollbar using the highlight colour which defaults to something magenta-like. Note that the 'Highlight All' toggle on the findbar needs to be on for the tick marks to appear.

2

You can use the HighlightAll extension. Go to about:addons and choose Custom highlighting and Show search markers. Then visit any page and make a selection (e.g. by double clicking a word). This is not the same as in Chrome, but should cover many use cases.

enter image description here

The license is GNU GPL 3.0 There is no public source code repository, but the source code can be inspected by extracting the xpi, as it's a zip file. Fortunately, the core add-on and libraries source files are well-organized and not minimized.

2
  • 5
    unfortunately, it is not open source and requires permission to read data on all websites :(
    – I V
    Commented Feb 19, 2019 at 12:40
  • That is very unfortunate indeed. I didn't even check for that. Good catch. Commented Feb 20, 2019 at 13:12
2

[final edit, 2022]: As already highlighted in the correct answer, FF has this feature built in since V87. DEPRECATED INFO: highlightall was until FF V87 the only tool that had the extension .

It still required the some access rights:

  • Access your data for all websites
  • Read the text of all open tabs
  • Display notifications to you

[all other information deleted, as obsolete] highlightall still "highlights all" occurences of a text passage on a webpage... but that is an answer to a different question

2
  • You say it is open source - where's the code?
    – Will
    Commented Jun 22, 2020 at 2:23
  • 1
    @Will: so, I checked firefoxes profile subfolders again. As all user's profile data - see here - the extensions/ folder contains this plugins data. In my case the plugin is under "{26FD1F83-A45B-4c74-AF5A-F2EE0EE4D691}.xpi". extracting this shows all parts of the plugin. Extracted it with 7z and took a look. I am no expert on FF extensions, but looks like Javascript does all the work. There's the sourcecode.
    – guz4217
    Commented Jun 23, 2020 at 4:48
0

It is not possible to enable this feature in Firefox (58.0.1).

But if you're willing, you can do this with extensions. I believe there exists extensions that can do this. However I have not tested such extensions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .