There are 1 previous version of this script.
// ==UserScript==
// @name Megaupload sin esperas
// @version 1.1
// @namespace DJMeu
// @description Megaupload sin esperas
// @include http://megaupload.com/*
// @include http://www.megaupload.com/*
// ==/UserScript==
version='1.1';
scripturl='http://userscripts.org/scripts/source/49360.user.js';
scripturl2='http://userscripts.org/scripts/show/49360';
scriptname="Megaupload sin esperas";
//-------------------------------------------------------------------------------------------//
GM_registerMenuCommand(scriptname+ ': Buscar actualizaciones', update);
GM_registerMenuCommand(scriptname+ ': Visitar la p\u00e1gina del script', scriptpage);
function update(evt)
{
GM_xmlhttpRequest({
method: 'GET',
url: 'http://userscripts.org/scripts/source/49360.meta.js',
onload: function(resp) {
resp.responseText.match(/@version\s+([\d.]+)/);
updatedversion = RegExp.$1;
if (version == updatedversion) {
alert('Tienes la \u00faltima actualizaci\u00f3n disponible (v' +version+ ')')
} else {
if (confirm("Se ha encontrado una nueva versi\u00f3n (v" +updatedversion+ "). Desea actualizar?")) {
document.location.href = scripturl
}
}
}
});
}
function scriptpage(evt)
{
document.location.href = scripturl2
}
//-------------------------------------------------------------------------------------------//
document.getElementById('downloadlink').style.display = '';
document.getElementById('downloadcounter').style.display = 'none';
window.location.href = document.getElementById('downloadlink').firstChild.href;
