Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function(){
- // Bookmarklet for Google Drive that downloads all files in the current page.
- // Small files (< 25 MB) will download instantly, large files (> 25 MB) will open a confirmation tab.
- // Does not work for folders.
- // Compile with https://chriszarate.github.io/bookmarkleter/
- var files = document.getElementsByClassName('flip-entry');
- var id = '';
- for (var i = 0; i < files.length; ++i) {
- id = files[i].id.replace('entry-', '');
- window.open('https://docs.google.com/uc?id=' + id + '&export=download', '_blank');
- }
- })();
Add Comment
Please, Sign In to add comment