Urgent.News

What's breaking now, across thousands of outlets.

Tech

Hooking URL.createObjectURL: How My Chrome Extension Saves Instagram Voice Notes as They Play

Instagram still does not let you save voice messages from DMs. No download button, no archive, nothing. If a friend sends you a voice note worth keeping — or you hear a great sound on a Reels audio page — your options are screen recording (with UI noise, notifications popping in, and re-encoded quality) or third-party downloader sites (which usually need the message link and often do not work for…

Instagram no longer provides a way to download voice messages from Direct Messages. Users can either screen record with undesirable quality or use third-party downloaders, which often do not work for DM voice notes. I created a Chrome extension to download voice notes at their original quality as they play, without leaving the page.

The extension leverages the URL.createObjectURL function, which wraps audio content in a Blob when Instagram loads it from its CDN. My extension intercepts this process by patching URL.createObjectURL in the page's JavaScript context before Instagram's code runs. The extension uses two scripts - one for patching createObjectURL and another for communicating with the background service worker - and uses CustomEvents to transmit metadata to the background worker.

The extension filters out blobs that are not audio files and limits the size to keep the main thread responsive. Once the extension captures the audio, it creates a download button next to the voice bubble, allowing users to save the file directly to their device without any re-encoding or quality loss.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Windows vs. Linux: A 6-Month Hands-On Comparison for Techies, Gamers, and Local AI

This is not a competition between them; it is just a comparison of the pros and cons of using each. For me, I have about 6 months of experience with Arch Linux—specifically focused on running local…

  • Windows is beginner-friendly, while Arch Linux requires technical knowledge
  • Linux excels in customization and performance for AI model workloads
  • Gamers may face challenges installing pirated games on Linux

I changed nothing and my LLM server got 27% more expensive

I ran the same cost check four times in a row against a server I didn't touch. Same model, same machine, same prompts, same settings.

  • Server cost increased by 27% without any changes
  • Decrease of 11% observed after initial cost rise
  • Timing factors like processes and OS scheduling affect costs

Startup Logistics Transactional Email API vs SMTP — Owning Password Reset Templates

A logistics startup choosing a transactional email API for welcome emails and password resets should decide who owns each template before comparing an API with SMTP relay providers.

  • Template ownership should be local for password resets, with expiry visible in the model.
  • API-first service provides structured submission boundary and message metadata.
  • Remote templates require additional controls like pinned identifier and approval rules.

More from Saturday 26 September →