brandon1024 / find

A find-in-page extension for Chrome and Firefox that supports regular expressions.
https://chrome.google.com/webstore/detail/find%2B-regex-find-in-page/fddffkdncgkkdjobemgbpojjeffmmofb
GNU General Public License v3.0
402 stars 52 forks source link

find+ does not work if a website uses shadow DOMs #400

Open KrischnaGabriel opened 1 year ago

KrischnaGabriel commented 1 year ago

Issue Description

Text in shadow DOMs cannot be fond by find+.

Steps to Reproduce

It's applicable to all websites utilizing shadow DOMs, but here's an example.

  1. Go to https://www.alodokter.com/
  2. Copy and search with find+ for a word from the banner. Example: "Mudah"

Expected Behavior

At least one search result.

Actual Behavior

Zero results.

Perhaps useful Documentation

This article gives some info on how to go trough shadow DOMs programmatically.
https://docs.apify.com/academy/node-js/scraping-shadow-doms