find

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.

Browser compatibility

Example extensions

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
find
find
find.options
options.caseSensitive
options.entireWord
options.includeRangeData
options.includeRectData
options.matchDiacritics
options.tabId
highlightResults
removeHighlighting