MDN self-hosted library · e01.org

find

Finds text in a web page, and highlights matches.

no runnable cells webextension-api upstream source

Finds text in a web page, and highlights matches.

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

Functions

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

h2

Browser compatibility