26
Any chance of back button change?
(aussie.zone)
wefwef is now Voyager! Subscribe to !voyagerapp@lemmy.world.
This might be hard to do with the way webapps work. But I'm not 100%
It is possible in modern browsers. You can add a url hash when opening the image viewer and add a listener to the window.onhashchange event to close the viewer. I believe there's a jQuery polyfill as well.
Yeah I was worried that might be the case
You can do it easily by changing part of the url when opening an image which adds an entry in the browser history, and you can do a lot in Javascript using the History API : https://developer.mozilla.org/en-US/docs/Web/API/History_API