diff --git a/rapidshare/rapidshare.js b/rapidshare/rapidshare.js index 1136928..f0e7ff5 100644 --- a/rapidshare/rapidshare.js +++ b/rapidshare/rapidshare.js @@ -23,16 +23,16 @@ rsDownloadHelper.onLoad = function() downloadcounter.style.display='none'; var ina = setInterval(function() { - var zeit = document.getElementById("zeit"); - var num = zeit.innerHTML.match(/[\d\.]+/g); - downloadcounter.style.display='none'; + var zeit = document.getElementById("zeit"); // selecting the element with Id zeit. + var num = zeit.innerHTML.match(/[\d\.]+/g); // trying to match its inner html to text '/[\d\.]+/g' + downloadcounter.style.display='none'; // set the display property of the DIV element to "none" message.innerHTML = "Now you can continue browsing, the file will be downloaded automatically!
Your automatic download will start in "+ num[0] +" seconds."; - - if (num[0] == "1") { - var inaa = setTimeout(function() { - var f = document.forms; - for (i=0;i