I would like to know if there is a way to intercept the image loading requests of a browser and add some request headers expected by the server.
The actual scenario
You can request the image using AJAX with the appropriate headers. Then you must base64 encode the image binary and insert it into the DOM by setting