I am making an extension which grabs the image from any website and upload it to our server
, here problem is if I am trying to upload like 1000-2000 images then the targeted website gives 429
while making a file object since we have already made 1000 request to load those images in DOM & now again reading it to make file object, so is there any way to grab image data which is already loaded in DOM without making one more request
?
Example: Suppose I am trying to grab images from google, so first I show all those images in a dialog box (generated by extension) gives the user a choice to select/unselect images which they want to upload, then on submit I generate the file object and send it to the server.
So here I am making 3 requests, first making a request to load those images on the website itself, grab the image URL and load it in the dialog box at last read it to make file object, so is there a way to do it in a single request?