This works in Mozilla Firefox (89.0) but not in Chromium (91.0.4472.77 snap)
$("img").on("click", function() { window.open($(this).attr('src')); } );
where the image source is data:image/png;base64,iVBORw0KGgoAAAAN.....
The window that opens on click is blank. Why?
I tried this solution but then the window doesn't open at all.
It works if I open a new window and put <img src="..."> there (but for some reason that new page is not zoomable, which is the purpose of opening the stand-alone image in the first place).