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
Desktop | Mobile | |||||
---|---|---|---|---|---|---|
find | Chrome No support No | Edge No support No | Firefox Full support 57 | Opera No support No | Safari No support No | Firefox Android No support No |
highlightResults | Chrome No support No | Edge No support No | Firefox Full support 57 | Opera No support No | Safari No support No | Firefox Android No support No |
removeHighlighting | Chrome No support No | Edge No support No | Firefox Full support 57 | Opera No support No | Safari No support No | Firefox Android No support No |
Legend
- Full support
- Full support
- No support
- No support