// ==UserScript== // @name Tumblr - Mass Posting Photos, Audio, Videos (bot, batch, bulk) // @namespace http://script.b9mx.com/tumblr-mass-posting-photos.user.js // @description On your drafts page, mass upload photos/audio and batch post + external audio/video. // @include https://www.tumblr.com/dashboard // @include https://www.tumblr.com/blog/* // @include https://www.tumblr.com/blog/*/drafts // @version 2.3.4 // @grant none // @downloadURL https://update.greasyfork.icu/scripts/369791/Tumblr%20-%20Mass%20Posting%20Photos%2C%20Audio%2C%20Videos%20%28bot%2C%20batch%2C%20bulk%29.user.js // @updateURL https://update.greasyfork.icu/scripts/369791/Tumblr%20-%20Mass%20Posting%20Photos%2C%20Audio%2C%20Videos%20%28bot%2C%20batch%2C%20bulk%29.meta.js // ==/UserScript== // edit this line to change the upload fail time in seconds window.upload_timeout_seconds = 60; // if you have a slow internet connection and it takes over a minute to upload an image // it should be increased, or decreased if your internet is really fast. window.files_to_upload = []; window.output = []; window.first_item = 0; window.fail_different_types = function(){ window.files_to_upload = []; window.output = []; jQuery("#list ul").remove(); } window.temp_album_art = window.temp_album_art = "//api.tumblr.com/v2/blog/" + jQuery('#search_form input[name=t]').val() + ".tumblr.com/avatar/512"; window.clear_textarea = 1; window.uploader_switch = function(mode){ if(mode === 1){ window.clear_textarea = 1; jQuery("#drop_zone").hide(); jQuery("#list").css("max-height","99999999px"); jQuery('#list').prepend( jQuery("