Finds text in a web page, and highlights matches.
To use this API you need to have the "find" permission.
Finds text in a web page, and highlights matches.
To use this API you need to have the "find" permission.
find.find()
Find text in a web page.
find.highlightResults()
Highlight the last set of matches found.
find.removeHighlighting()
Remove any highlighting.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
find |
No
|
No
|
57
|
?
|
No
|
No
|
?
|
?
|
No
|
?
|
No
|
?
|
highlightResults |
No
|
No
|
57
|
?
|
No
|
No
|
?
|
?
|
No
|
?
|
No
|
?
|
removeHighlighting |
No
|
No
|
57
|
?
|
No
|
No
|
?
|
?
|
No
|
?
|
No
|
?
|
© 2005–2022 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/find