mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 23:27:37 +00:00
startDownload() used <a target="_blank" download> anchors, which made Chrome open a new tab for every file that then auto-closed as soon as the download started (Content-Disposition: attachment). Replace with hidden iframes: downloads start in the background without opening tabs, and a failed/expired link renders inside the hidden iframe instead of navigating the SPA tab away.