Downloading a data uri as file

While browsing some website, I ran into an audio player that had a source that was embedded: I wanted to save that audio, but it wasn’t trivial (no “save as” ui, no clear resource I can save from the network tab). I ended up with a small reusable method. Start with right click the source element…