Back to Content

find.removeHighlighting()

files/en-us/mozilla/add-ons/webextensions/api/find/removehighlighting/index.md

latest367 B
Original Source

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

Syntax

js-nolint
browser.find.removeHighlighting()

Parameters

None.

Return value

None.

Examples

js
browser.find.removeHighlighting();

Browser compatibility

{{Compat}}