find.removeHighlighting()

Remove any highlighting of a previous search that was applied by a previous call to find.highlightResults(), or by the browser's native UI.

Syntax

browser.find.removeHighlighting()

Parameters

None.

Return value

None.

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
removeHighlighting
No
No
57
?
No
No
?
?
No
?
?
?

Examples

browser.find.removeHighlighting();

© 2005–2021 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/removeHighlighting