Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

287
Vistas
How to keep element selectors (class names, IDs, etc) updated in Chrome extensions?

I'm working on a Chrome extension that loads on top of another site, because of that I need to select some of that site's elements by class name or ID, and everything works fine until the site releases an update. Then every class name is different and some IDs may be missing or even changed. So what is the best practice to prevent my extension from breaking? Should I just keep the class names updated myself?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

you may check an anchestor node that you know its properties won't change and then loop throught its inner nodes or you can periodically check for any site updates by your own and then "instruct" the extension about the nodes to be selected. This can be done through a web service that you will develop on your own server and then query through the extension

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda