Closed Bug 1480019 Opened 6 years ago Closed 6 years ago

Find API - Ability to open/close/query the Findbar

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: GeekShadow, Unassigned)

References

Details

It would be nice to have an API to be able to : - Open the findbar - Close the findbar - Input query text - Toggle options (highlight, case sensitive, entire words) The main use-case is to have a webextension that allow findbar to be opened accross tabs (Eg. if you want to compare information in two different tabs without reopening findbar) Second use-case is to keep settings find settings accross tabs (case sensitive/entire words.
Having an API to open and display the Firefox findbar won't solve this use-case since the built-in findbar only operates on a per-tab basis, regardless if a user or an extension were to open it. I believe the use-case could be solved with existing WebExtension APIs, though, by implementing a browser action that opens a popup with an input for the query text, and then using the browser.find API to search multiple tabs. A sidebar that allows for query input text is also an option.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.