Woundorf / foxreplace

Replace text in webpages
https://addons.mozilla.org/firefox/addon/foxreplace/
GNU General Public License v3.0
90 stars 22 forks source link

Foxreplace doesn't find words inside shadow dom #345

Open peace2000 opened 1 year ago

peace2000 commented 1 year ago

Hi, I've noticed that FR doesn't find words that are located inside shadow dom. Some websites use shadow dom to wrap content under them.

One example page is virustotal: https://www.virustotal.com/

If I try to replace word "data" with "test", nothing happens.

image

From browser dev tools:

image

Woundorf commented 1 year ago

Thanks for the report. I didn't know the concept of shadow DOM but I see it is the same thing that happens in #341.

wtfiwinomgs commented 1 year ago

bump, this issue happening more frequently as ti seems a lot of website moving to this "shadow dom" thing, is there any update to address this?

Woundorf commented 12 months ago

I don't have time to try to find a solution, but if someone else reading this knows how to fix it and wants to create a pull request I can accept it.