Uploading timer and country limit remover

By laughingLoki Last update Aug 2, 2009 — Installed 7,120 times. Daily Installs: 21, 27, 29, 32, 27, 31, 18, 13, 15, 30, 20, 23, 25, 17, 17, 15, 19, 36, 23, 32, 16, 21, 18, 19, 27, 19, 29, 22, 22, 15, 17, 23

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();
    }
}