News for hackers. Stuff that matters.
Re:Entire website in a single HTML file by tambourine_man on Thursday December 23, 2021 @09:45PM (#29669443)
You can even embed images with a src converted to base64.

This method even works well with the back/forward browser buttons, something that a naive show/hide JavaScript solution wouldn’t.

Re:Entire website in a single HTML file by gildas on Thursday December 23, 2021 @09:53PM (#29669511)
Or even store the whole page as a self-extracting zip file. This page is a zip file: https://gildas-lormeau.github.io/