3 ms·
Suggestion: if I'm on https://larsjung.de/h5ai/demo/special%20chars/ https://larsjung.de/h5ai/demo/special%20chars/ and I click on the "screenshot.jpg" link it
by simonw 3y ago
Suggestion: if I'm on https://larsjung.de/h5ai/demo/special%20chars/ https://larsjung.de/h5ai/demo/special%20chars/ and I click on the "screenshot.jpg" link it shows me a preview of the screenshot, but it doesn't update the URL.
I understand that https://larsjung.de/h5ai/demo/special%20chars/screenshot.jpg https://larsjung.de/h5ai/demo/special%20chars/screenshot.jpg is a link to the actual file itself, but it would still be nice to have the preview itself be linkable - and be navigable via the back/forward buttons, browser history etc.
So how about using a fragment hash here? https://larsjung.de/h5ai/demo/special%20chars/#file:screenshot.jpg https://larsjung.de/h5ai/demo/special%20chars/#file:screensh... (that's the directry URL with #file:screenshot.jpg at the end of it) - that way the back/forward buttons could work, the preview would be linkable and there wouldn't be confusion with the actual URL to the file.