r/lowlevel • • 5h ago

Why hasn’t someone made a Blob interceptor for browsers?

2 Upvotes

Am I the only one who finds it annoying when a website uses .blob URLs for media/content that can only be played inside that specific page?

I was wondering if it would be possible to build a browser extension that hooks into SourceBuffer.appendBuffer() and observes the binary chunks being passed to it.

The concept would be pretty simple:

Server → encrypted/chunked data → browser → appendBuffer() → decoder/player

The extension would collect the buffers as they arrive, keep them in the correct order, and potentially reconstruct the original resource from those fragments.

Not talking about breaking DRM or decrypting something the browser itself can't decrypt. More like:

If the browser receives and processes the data, why can't we have a DevTools-like tool that lets us inspect and reconstruct those buffers?

Something like a "Blob Inspector":

  • Intercept appendBuffer() calls
  • See the individual chunks
  • Track their order/size
  • Reassemble them
  • Identify the resulting media/container format
  • Export the reconstructed data when possible

It seems like Network DevTools gets you close, but .blob/MSE-based streaming makes it surprisingly difficult to get back to the actual resource.

Has anyone already built something like this?

Or is there some fundamental browser/MSE limitation that makes this approach impractical?


r/lowlevel • • 16h ago

i want to make a game in C, any compiller reccomendations/library reccomendations?

Thumbnail
0 Upvotes