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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaFirefox for Android
findChrome No support NoEdge No support NoFirefox Full support 57Opera No support NoFirefox Android No support No
highlightResultsChrome No support NoEdge No support NoFirefox Full support 57Opera No support NoFirefox Android No support No
removeHighlightingChrome No support NoEdge No support NoFirefox Full support 57Opera No support NoFirefox Android No support No

Legend

Full support  
Full support
No support  
No support

Example extensions

Document Tags and Contributors

Contributors to this page: wbamberg, hellosct1
Last updated by: wbamberg,