Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please Help. #279

Open
on1no opened this issue Feb 14, 2024 · 1 comment
Open

Please Help. #279

on1no opened this issue Feb 14, 2024 · 1 comment

Comments

@on1no
Copy link

on1no commented Feb 14, 2024

你好
有没有办法让下载成功后自动关闭下载对话框?

Hello
Is there a way to automatically close the download dialog box after a successful download?
aOO98ue

@ccloli
Copy link
Owner

ccloli commented Feb 18, 2024

理论上可以,不过考虑到从浏览器保存文件的功能并不可靠,例如因内存不足而无法下载,而关闭该对话框后脚本会尝试回收下载时占用的内存空间,之后只能重新下载。考虑到稳定性问题,目前脚本没有提供主动关闭该对话框的功能。你可以在下载完成后手动关闭对话框,或是直接跳转到其他页面。

Technically it could, but consider the function to save file from browser is not reliable, like download fails due to out of memory. And once you close the dialog, the script will try to GC the used memory, after that if you don't save the zip file properly, you have to download it again. For the reliability issue, the script doesn't have such feature to close the dialog automatically. You can close it manually after downloading, or just navigate to another page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants