On the off chance somebody here is familiar with this API: I’ve spent some time trying to make using browsers somewhat bearable, and tried - with limited success - to re-implement search using find.find, with the search input in a HTML dialog.

The problem with this approach is that the search query itself is treated as part of the results:

So far I haven’t seen a way to have that excluded. Does anybody have ideas outside of “throw this away and reimplement with JavaScript”?

The code is here