webclient
webclient copied to clipboard
Enable download via Firefox and Safaria again
Hello guys,
first of all, I'd like to thank you for hosting my files :) I know this is quite expensive, therefore thanks to the donors!
I used Mega for providing providing film to juries. This worked great for a long time, but unfortunately people had problems with the browser's buffer. Now you ask the people to install the MEGAsync app when the file size is large. This is quite problematic for my use of MEGA since the app needs an account to work. That's why I'd be nice to make this checkbox unselectable again:
https://github.com/meganz/webclient/blob/514c3e618555b231db836f66fd1ba7f4450ca91f/html/js/download.js#L342
I think removing the else if
condition would be sufficient for that.
$('.checkdiv.megaapp-download** input').change(function() {
if ($(this).prop('checked')) {
checkMegaSyncDownload();
delete localStorage.megaSyncDownloadUnchecked;
}
else if (fdl_filesize > maxDownloadSize) {
checkMegaSyncDownload();
dlmanager.setBrowserWarningClasses('.download.warning-block');
}
else {
uncheckMegaSyncDownload();
localStorage.megaSyncDownloadUnchecked = 1;
}
});
Hello,
We are enforcing the use of MEGAsync when we do detect beforehand the download won't be reliably through the browser, thus making such checkbox un-selectable.
Under Firefox we do have to handle downloads through an in-memory buffer due our E2EE, which unfortunately limits the amount of data we can keep going, currently that's 1GB of data for the 32-bits version of the browser, and 2GB for the 64-bits version.
While we could increase such limits, it is very likely the downloads won't complete and fail with an out of memory error, we have actually had several reports of that kind in the past.
However, for any brave users out there, this limit can be overcome by opening the web-console and entering the following command localStorage.dlFileSizeLimit = <limit>
, it may or may doesn't work on a per-user basis, and please bear in mind that by using that we cannot be responsible for any wasted bandwidth as result of any error thrown while using it.
Thanks, and sorry i cannot be of more help.
Maybe I don't understand the issue, I'm not a developer of any sort. I can go to other websites and download multi gigabyte single files. Is there some limitation or reason Mega can't? Not to compare other services as well, but if there is some way encryption or other security features prevent this, Proton drive does not seem to have any issues.