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

162
Vistas
Chrome extension: Watch for changes on an input box and trigger event based on whats inputted?

Problem - Watch for active input boxes in a page and trigger events if specific words are entered into the input box

Steps

  1. Click 'reply or reply all'
  2. Input box becomes active
  3. Enter |intro
  4. |intro text gets replaced with long form version. The |intro is like a snippet or short code

Heres what I'm thinking

  1. Query all input boxes on a page
  2. Check for input with focus
  3. Add event listener on input to check for keyup events
  4. Conditional statement to check if string contains specific snippet/short code
  5. If condition is met then replace snippet with long form text

What do you think of my approach to this functonality

about 4 years ago · Juan Pablo Isaza
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