Back to Content

find

files/en-us/mozilla/add-ons/webextensions/api/find/index.md

latest493 B
Original Source

Finds text in a web page, and highlights matches.

To use this API you need to have the "find" permission.

Functions

  • {{WebExtAPIRef("find.find()")}}
    • : Find text in a web page.
  • {{WebExtAPIRef("find.highlightResults()")}}
    • : Highlight the last set of matches found.
  • {{WebExtAPIRef("find.removeHighlighting()")}}
    • : Remove any highlighting.

{{WebExtExamples("h2")}}

Browser compatibility

{{Compat}}