Last active
June 8, 2022 16:40
-
-
Save rebane2001/26c7c95f213c0a68c1823f1524149ded to your computer and use it in GitHub Desktop.
Automatically downloads every Dropbox subfolder (and file) as a zip file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Sometimes, Dropbox folders are too huge and attempting to download them as zip results in the "The zip file is too large." error. | |
This script automatically downloads every subfolder (and file) as a zip file to work around this issue. | |
To use it, just open the Console (F12) on the Dropbox page, paste this script in, and run it. | |
*/ | |
document.querySelectorAll("a").forEach(e => { | |
if (e.href.includes("dl=0")){ | |
window.open(e.href.replace("dl=0","dl=1")); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment