4f10991abc2efa3c3058d02cb3da8f701752f58a
Firefox Splice Download Helper
This Firefox extension captures Splice sample preview context from GraphQL responses, then attempts to download full-file URLs when available. If full retrieval is unavailable, it falls back to decoding preview audio bytes (splicedd-style) and downloads decoded MP3.
Features
- Captures sample context from Splice GraphQL responses (
preview_mp3, sample UUID/hash). - Tracks observed audio sample URLs from network/probe fallback.
- Download action is orchestrated as:
- Attempt full-file URL retrieval first.
- If unavailable, decode scrambled preview bytes and download decoded MP3.
- Injects two controls in the target row:
- Download: full-first, decoded-preview fallback
- History: opens extension history page with past captured URLs
- Popup/history show each captured sample with source and mode hints.
Targeted Page Element
Inline controls are injected into:
.playbar-playback-info-bar.playback-row-section.svelte-11gjrk3
The inserted controls use sibling-style wrappers based on:
bordered-item meta-item svelte-11gjrk3
URL Rules
- Page scope:
*://*.splice.com/* - Audio sample paths include
/audio_samples/ - Waveform files (
.wv.json) are excluded from download candidates
Load in Firefox (Temporary Add-on)
- Open
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on...
- Select this extension's
manifest.json - Visit a matching
*.splice.compage
Usage
- Open a page under
*.splice.comthat loads S3 audio links. - Wait for inline
DownloadandHistorycontrols to appear in the playback info bar. - Click:
- Download to run full-first retrieval, then decode fallback if needed
- History to open full captured history
- Optionally click the extension icon to open popup for current-tab entries.
Manual Verification Checklist
- On matching domain, controls appear in target playback row.
- Controls remain after SPA/Svelte rerenders.
- GraphQL preview context is captured for visible samples.
Downloadattempts full retrieval first.- When full retrieval is unavailable, fallback decoded MP3 is downloaded and playable.
Historyopens and allows downloading older entries.- Popup updates with captured entries for active tab.
- Non-
*.splice.compages do not capture/store URLs.
Known Limitations
- Full-file URL retrieval depends on backend behavior and session state; it may fail for some assets.
- Fallback decode uses scrambled preview streams, so fallback output follows preview-source quality/availability.
- Signed preview URLs can expire; expired URLs require recapture.
saveAs: trueprompts download location each time by design.
Description
Languages
JavaScript
89.6%
CSS
6.5%
Shell
2.1%
HTML
1.8%