Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

134
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!