There are 3 previous versions of this script.
// ==UserScript==
// @name Uploading download timer remover
// @namespace http://uploading.com
// @description (v1.3) Removes the download timer on uploading.com
// @include http://*.uploading.com/*/files/*
// @include http://uploading.com/*/files/*
// @include http://*.uploading.com/files/*
// @include http://uploading.com/files/*
// ==/UserScript==
// jQuery code provided from http://joanpiedra.com/jquery/greasemonkey/
// Add jQuery
var GM_JQ = document.createElement('script');
GM_JQ.src = 'http://jquery.com/src/jquery-latest.js';
GM_JQ.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_JQ);
var GM_autoDown = GM_getValue("autodown") || 0;
// Check if jQuery's loaded
function GM_wait() {
if(typeof unsafeWindow.jQuery == 'undefined') {
window.setTimeout(GM_wait,100);
} else {
$ = unsafeWindow.jQuery;
main();
}
}
GM_wait();
function main() {
$(".downloadbutton").click();
unsafeWindow.countdown2 = function(){};
$("#timeblock").add("#waitblock").hide();
$("#linkblock").show();
$("#downloadhtml").text("1");
if( GM_autoDown == undefined ) {
GM_autoDown = confirm("Is it OK to start downloads automatically without having to click? (You will only be asked this question once per installation.)");
GM_setValue("autodown", GM_autoDown);
}
if( GM_autoDown ) {
$("#downloadform").submit();
}
}
