SessionSnap fixes Manifest V3 daily auto-backup by routing downloads through an offscreen document
The developer of SessionSnap, a Chrome and Edge tab-session extension, built a feature to download a daily JSON backup without user action. The first version used URL.createObjectURL inside a Manifest V3 service worker, which is unavailable there, so auto-downloads failed during live testing while the stored copy and failure record stayed intact. The fix was an offscreen document that can create blob URLs, with a data: URL as a last resort that ignores the filename and is recorded as such. Re-testing against the unpacked Chrome package produced a correctly named backup file, and the options page confirmed the auto-download. The feature has been auto-downloading daily since version 0.1.2 on Edge, where the extension is live at version 0.1.7.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in