Rapidshare AutoWait

By iampete Last update Dec 19, 2009 — Installed 188,256 times.

Small change.

in
Subscribe to Small change. 3 posts, 3 voices



Simon Castillo User

Hello, I added a small change to this script on the "wait" switch. Instead of reupdating non-stop it nows wait the necessary amount of time. You might wanna improve it and add it the main RapidShare AutoWait script. Greetings.

case "wait":
var errorText = inhaltbox.getElementsByTagName("div")[0].innerHTML;
var mye = errorText.match(/Or try again in about \d{1,2} minutes./i);
var t = mye[0].split(/\s/);
time = t[5];
w = parseInt(time)*60;
countdownMessage = "Download will start in %s s";
break;

 
RED_FOX86 User
FirefoxWindows

So iampete, can you add the change listed by simon to the script? It would be better because when you have a lot of tabs open the connection gets very slow with every page refreshing every minute. I would add it to the program myself but I really have no idea how to do that. thanks. And awesome script btw.

 
iampete Script's Author
FirefoxX11

Hi.. i have added this modification as an optional feature (you can turn it off in the script's source). You are right that it is slowing down the connection.. i was reluctant to implement it, because i wanted to be sure that i we won't miss the moment when the limit times out.. but with 30+ tabs open this really is a waste of bandwidth.

anyway.. enjoy.. and if you don't like it, you can turn it off..

-PeTe

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel