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

461
Views
XMLHttpRequest is not defined Chrome Extension MV3

I understand XMLHttpRequest doesn't work with service worker (Chrome Extension manifest v3) so I need replacement of it for the following upload functionality. I am not sure how standard fetch how can be used for uploading with events like onreadystatechange and onprogress. Any example of fetch for upload purpose with events would be appreciated

var request = self.uploadXHR[index] = new XMLHttpRequest();
request.onreadystatechange = function () {
    
};

request.upload.onprogress = function (e) {
    
};

request.open('PUT', url, true);

request.send(blob);
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!