So, I'm trying to make a browser add-on that replace the usual images by edited one, either by modifying them before they're displayed or by creating a modified version of the image to put above the one that's already loaded, and I only got the editing part done, I can't figure out how to do the other part. The code needs to be either in HTML or in python. Any doc you know that contains a method for either of this?