Page 1 of 1

Save img base64

Posted: Wed Mar 04, 2020 9:25 pm
by dilfich
Tell me if there is a way, the script generates an image in base64 and in devtools I see it as a normal link (in the section General Request URL: data:image/jpeg;base64,iVBORw0K) but it is not visible in BeforeResourceLoad, and there is no ordinary link to download and save, how can I get this image?

Re: Save img base64

Posted: Thu Mar 05, 2020 8:01 am
by salvadordf
If it's not possible to use any of the TChromium events then I would try to visit the DOM using JavaScript when the image is loaded.

Re: Save img base64

Posted: Thu Mar 05, 2020 9:22 am
by dilfich
It's difficult for me( I don't even know where to start. Google Chrome does this without problems, in the usual way via the "Save as" context menu. Filter_OnFilter also doesn't seem to see anything, doesn't see anything. Not uili there a way via JS after all most likely for each image and different sites need to come up with something different, as the inserting and drawing all differently arranged, if you can put the canvas, it does not mean that it is possible everywhere, especially in frames, must be what that option does not cause problems on any site, because if it exists as a link, why is it not visible in the usual ways do not understand. :?