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

130
Vistas
Convert image from another tab to base64

I'm building a drag-and-drop image upload. My requirement is that all images are loaded from their base64 representation, not from a URL (for privacy reasons).

When the user drags an image from the file system, conversion to base64 is easy. But I haven't found a way to do it for images dragged and dropped from another browser tab.

I see that ondrop I can get the image's URL using e.dataTransfer.getData('text/uri-list') but that would violate my requirement.

According to this answer from 2014 what I'm trying to do simply isn't possible. But it's old so I'm hoping things have changed.

I have inspected the e.dataTransfer object and played with its various properties but haven't found anything promising.

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