So on android(and windows) there's a meta tag you can add to install that page link as a launcher/desktop icon.
https://developers.google.com/web/fundamentals/app-install-banners/
This runs chrome in an incognito mode...
doing window.open( imageDataURL, "_blank" ); used to work, but doesn't anymore.
before that I was actually doing like
popup = window.open( "about:blank", "_blank" );
popup.appendChild( document.createElement( "img" ).src = imageDataURL ); // pseudocode
that was working in windows and android; it doesn't work anymore.
I did some digging and a new way of doing the above is
popup.document.write('<iframe src="' + text + '" frameborder="0" onclick="window.close()" style="border:0; top:0px; left:0px; bottom:0px; right:0px; width:100vw; height:100vh;" allowfullscreen></iframe>');
also doesn't work in incognito app.... it does work in chrome, if I were to just go to the website address directly....
I just want to, when clicking on a thumbnail, show that in a full screen mode that has zoom/pan.
I started to try and just make a popup on the current page, but for some reason even setting z-index=1000 and all other zindex unset (except a invisible mouse-catcher at 45) is unset... if I set the app container div (all content in this div) as -3, then I can set the zindex of the image as 3 and it shows above, and gets clicks, but then I can't click on anythin in the div, and the element inspector seems to think the 'body' element is above the app, but setting zindex=-10 on body doesn't move it backwards...