Revoke 1-time object URLs

This commit is contained in:
Cohee
2024-05-22 01:36:38 +03:00
parent 255cd1310d
commit 0371bf4e9f
6 changed files with 6 additions and 0 deletions

View File

@ -9971,6 +9971,7 @@ jQuery(async function () {
a.setAttribute('download', filename);
document.body.appendChild(a);
a.click();
URL.revokeObjectURL(a.href);
document.body.removeChild(a);
}