Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

140
Visualizações
Searching DOM for text and adding background color to element

I am trying to build a Extension plugin for Edge & Chrome.

One of the features is that the plugin should check the active tab and see if any of the text in the tab exists in my array of objects.

Example: My object looks something like [{term: "name"},{term:"something"}, ....] Let's say that the page contains the text name then the plugin should add a background color to the specific text. So if the text says "My name is John" then only the substring name should have a background color.

I am very confused and tried multiple things so if anyone been doing the same thing or can send me into the right direction. It would be nice

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda