Find in Page

Search for text on the current page, jump between matches, and clear highlights with one tap.

Opening Find in Page

  1. Open the browser menu and tap Find in page (or pin it for one-tap access).
  2. A search bar appears at the top of the WebView.
  3. Type your query - matches are highlighted live.

Controls

↑ / ↓Jump to previous / next match. The active match scrolls into view.
Match counterShows current match index and total count
Close (×)Closes the bar and removes all highlights

How It Works

  • The browser walks the DOM with a TreeWalker, skipping <script>, <style>, and existing highlight nodes.
  • Matches are wrapped in <mark data-stealth-find> tags so they can be cleanly removed when you close the bar.
  • The active match gets a distinct highlight color and scrolls into view automatically.
  • Search is case-insensitive and matches the literal string (no regex).

Limitations

  • Only searches the main frame's DOM. <iframe> contents and shadow DOM are not searched.
  • If the page changes after a search (SPA navigation, AJAX content), reopen Find to re-scan.