Can a Firefox extension intercept or alter how "find in page" works? (I know I can call find.find() from an extension, but that would mean I have to remember to use my extension instead of Find in Page and I never will remember to.) Fiddling with browser functions used to be possible, but that's before XUL went away and extensions changed to the Chrome "in-page JS with benefits" model
I have discovered that there's a @FirefoxDevTools about:config preference "findbar.modalHighlight" (thanks https://www.reddit.com/r/firefox/comments/igalnj/anyone_got_any_tips_or_addon_suggestions_for/), but afaict it doesn't seem to do anything, so that's not helpful. (What I'm looking to do is to make the Firefox find-in-page highlighted results much, much more obvious than they currently are; half the time I can't find the result, especially on a busy page or if the text is in-page but hidden.)
@sil @FirefoxDevTools wonder if it applies some CSS class, so you just need a custom style sheet?
@falken @FirefoxDevTools find in page's highlights don't seem to be available in the DOM, unless I'm missing something, so that doesn't work I'm afraid!