Open UserIsntAvailable opened 2 years ago
// https://stackoverflow.com/questions/13405129/create-and-save-a-file-with-javascript/53864791#53864791 const a = document.createElement("a"); a.href = url; // FIX: For now just appending epoch timestamp. a.download = `${namePrefix}-dump-${Date.now()}.json`; document.body.appendChild(a); a.click(); setTimeout(() => { document.body.removeChild(a); window.URL.revokeObjectURL(url); }, 0);
The toolbar is not being shown properly. For some reason, it is not scaling to the screen layout ( maybe rem it is not supposed to work in mobile; doesn't make much sense, but could be a possibility ).
rem
Download mechanism doesn't work.