Put static XHTML into sprite for Scratch project

A preview of the exported sprite.

JSZip is used to write .sprite3 files, and FileSaver.js is used to save the output .sprite3 file.
Click here to view this webpage's source code.

Updates
Update 1 (2025-07-10) - Original version
Update 2 (2026-08-03) - Migrate to Codeberg