state after adding all of the user stuff and messing around with the wierd brave bug

This commit is contained in:
2026-03-08 14:45:38 -04:00
commit dde9ffcedb
4283 changed files with 124077 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
function downloadFileFromBytes(fileName, mimeType, bytesBase64) {
const link = document.createElement('a');
link.href = `data:${mimeType};base64,${bytesBase64}`;
link.download = fileName;
// This is required for Firefox
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}