Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

RS_Bundle

Rapidshare Free service helper (v2.6.2)

Now with RS_Bundle Update Check in the Monkey Menu - User Script Commands
I will be updating this script, not every day (possibly twice in the same day).
You can now simply use the User Script Command to check any day you use the script. And I don't have to try and do everything all at once, or raise a big flag like this on every new update/ bug fix.
Now with RS_Bundle Preferences in the Monkey Menu - User Script Commands
Now you can change your preferences permanently, or just temporarily. Monkey Menu commands don't always work (try reloading the page), but I'll add a link to the help text later.

screenshot thumbscreenshot thumb

If there's an update you'll see the date and version. Usually an added feature is a "minor" update, and a bug fix or code cleanup is "sub-minor" like "2.6.2".
Version "3.0" would be a complete rewrite, or I've run out of numbers.
This gives you an idea whether it's worth upgrading or not.
Also, I may not change the version number at all if I don't think it's important. The script has a timestamp so you'll know it's been changed when you check.

Note: When you install or update a script it goes to the bottom of your list, you can change them under Manage User Scripts.


This is a Greasemonkey user script.

To install in Firefox; Install the Greasemonkey extension

To install in SeaMonkey; Install the Greasemonkey-Mod extension
Make sure the Monkey is smiling then click the Install this script link.

To uninstall go to Tools -> Greasemonkey -> Manage User Scripts...,
select RS_Bundle, check "Also uninstall associated preferences" then click Uninstall.

To update this script just Install the script again - no need to uninstall.

This script does not defeat any multi-file / multi-part limits

The RS Ticket Timer has been removed and replaced by my timer. You can now enter the code before the timer runs out. You can not download while the timer is running, they will not let you have the file.

Added Auto Download option. If you enable this it will do the same thing as if you had clicked the link / button. You must enter the code correctly or it won't work.

I don't have time right now to test everything and update all the comments and instructions here. I have tested the basic functions, but there are some situations where odd things might happen - like if you enter the wrong code with Auto-Download enabled.
But I have been using this version myself for quite some time, so I know it works well for me. I will have to update this page later. I hope the 10 guys using this script are happy.

Script Features

  • Supports both rapidshare.de and rapidshare.com. Also supports rapidsafe.net and lix.in
  • Auto-clicks the free button : user pref freeSubmit (true or false)
    If set to true the "button will be clicked for you".
    If set to false it won't, but it will still add focus so you can just the hit enter key.
  • A download link instead of a form : user pref createLink (true or false)
    This allows you to use a download manager with Rapidshare Free accounts.
    You should not directly click the link, Alt-Clicking the link can send it to your favorite download manager, or you can just Copy Link Location and paste it into any download manager, whatever works for you.
    You can also use Shift+Enter or Shift+Click to start downloading with the browser's download manager, like normal, and this will prevent any error page from resetting the timer.
  • If there are too many users it will reload in 2 minutes.
  • Download Page cleanup. Removes all of the extra stuff.
  • Download ready alert : user pref showAlerts (true or false)
    Whenever you wait for a download you'll be alerted when the wait is over.
  • Time has passed alert : user pref showAlerts (true or false)
    If set to true; you will get an alert when the "bandwidth exceeded" wait timer runs out.
    When you click the alerts' OK button, or this option is set to false, the last page in history is loaded, and the Free button clicked (if enabled) to get your new download link.
  • Wait Timer in the title : user pref timerInTitle (true or false)
    Shows the "Ticket Timer" and "bandwidth exceeded" wait times in the browser window title.
  • Save Mirror Selection button
    When you change a download mirror you will see a button to save this selection, and the next time you download the script will select the same mirror if it is available.
  • Options above are stored in your user prefs file : See Modifying Preferences
    When the script is run for the first time you will be prompted to set the above preferences.
    OK = true, they are then stored in your preference file. To change your options search the config for "RS_Bundle" the name of the script.
    You can also uninstall the script making sure to check the "Also uninstall associated preferences" box, then reinstall the script and you will be asked to set the preferences again.
    You can disable this option by setting the Store_Prefs option in the script to false.
  • Super-Easy navigation
    Focus is added so you can just follow these steps...
    1. Load RS file URL - focus will be on Free button
    2. Free button is clicked if freeSubmit enabled, or else just hit Enter - focus is now on captcha box
    3. Enter captcha code then hit Enter or click button - focus now on link
    4. Alt-Click or Right-Click and Copy link location, whatever works for you - to start the download
  • Tab-Indexed inputs
    A tabbing order is added to all links and form inputs so that using Tab and Shift+Tab is more useful.
  • Multiple language support
    Supports English, German and Polish by checking the browser's navigator.language, see the -- Language -- section in the script.
  • Help text can be hidden
    Help text is in a div with the ID "rsbundleHelpDiv", so it can be hidden with the CSS line:
    #rsbundleHelpDiv { display: none }

- Bugs -

  • If the Wait time is exactly 1 second then the script will fail. I've seen this happen once.
  • Focus depends on the window being on top
    If the window is not on top, e.g. a tab loading in background, focus is not set to the Free button nor the captcha box. The window must be in focus before an element can be in focus. If tabs load in foreground there shouldn't be a problem. Just make sure the Free button has a dotted selection outline before hitting Enter, or use mouse (obviously).
  • Only tested in Mozilla SeaMonkey : greasemonkey-mod
    I have not tested this script in any other browser, but it should work just the same in Firefox.
  • Preferences not saved when first installed
    This is a feature not a bug, but preferences aren't written until the script is activated by loading a rapidshare page, in fact it has to be a rapidshare page that isn't an error or file upload page.
    If Store_Prefs is changed to false before a RS page is loaded they never get written, but you must change it every time you update the script.
    Updating the script won't change already set preferences, which is why I used it. Also the confirm dialogs only appear if that preference isn't already set
  • Language support is unreliable
    The ideal way to get the browser language would be the same way the website does: from the Accept-Language header, unfortunately this doesn't always work.
    The default language for rapidshare appears to be English, so if that's yours as well then there shouldn't be any problem, but if your browser is displaying another language then it should either be German or the default English.
    See also: Bug 285267 and the -- Language -- section of the script.


Translations
Here I will post text that either needs translation, or text that I have tried to translate. I do make a pretty close guess based on other translations, but my translations probably sound like a cheap Kung-Fu movie.
I try to keep the message short, but it should make sense.

Download link text;
en: Download Link
de: Download-Link
pl: Link pobierania

Download ticket ready time in red text;
en: Download ticket ready at 12:00 PM
de: Download-Ticket bereit um 12:00 Uhr
pl: Pobieranie będzie gotowe o 12:00

Message for when no download slots are available - auto-click Back button in two minutes;
en: Leave this page open, it will go back in 2 minutes
de: Wenn du diese Seite geöffnet hältst, dann springt sie zurück und lädt neu um 2 Minuten
pl: Zostaw tą stronę otwartą, zostanie ona cofnięta do poprzedniej strony za 2 min.




23 hours ago
Descriptor Script's author

There is a lix.in bug, so you'll want to remove "http://lix.in/*" from the includes. I suppose I'll have to just remove that code completely.

Uploaders please don't use lix.in, can I say: they suck ...


 
23 hours ago
Descriptor Script's author

Still here, but personal issues keep me away.
I do have a happy hour hack.

I don't see the wide screen issue, you'll have to clue me in.

I think only jpeg images will display in the browser, sound files will be downloaded to disk (because of content-type header), nothing I can do.

Please don't have a cat while I'm away.


 
May 6, 2008
Lucas Malor User

Simply perfect :-D


 
May 5, 2008
dob Scriptwright

Found a little bug on a widescreen 1680x1050:


 
May 4, 2008
sigara User

Could you also add automatic download option for Happy Hours.


 
May 3, 2008
BargeeMark User

Brilliant, just what I was after and works a treat, Thanx!

Could you add the facility to play a wav file when counter has finished?


 
Apr 29, 2008
jyang User

This works beautifully -- thanks, and great job. Could you also add automatic clicking on the download button for Happy Hour (when there is no captcha)? In these cases, you could actually go all the way from initially clicking on Rapidshare, thru waiting for the 100 minutes (or however long your wait is), to having the file be on your hard drive, all automatically. No clicks or user intervention after that initial click. (See screenshot of Happy Hour page.)

http://img145.imageshack.us/img145/6231/firesho...


 
Apr 25, 2008
kingto User

*i found a this type problem.*

"No premium user.Please enter all letters having a "(cat icon)" below.

7OBRKHS

Four letters with a "(same)" :[ ] [create link]

*now what can i do? there is a 7word. but type blank box only 4word.(yes! every time when i enter
the rapidshare link the word would be changed.some times showing 5,6or7word.)*


 
Mar 29, 2008
gregoire User

This script is really good and I perfectly understant it to stay on RS purpose :-)

Would it be possible to also have it remove all unneeded RS things (I mean the background which I would like to have transparent) and have the font in white.

Thank you very much :-)


 
Mar 28, 2008
Descriptor Script's author

Translations will be taken care of eventually.

I never implied "download accelerator" works, only download manager, 1 part at a time. Says right on their site, and there's nothing we can do but pay.


 
Mar 27, 2008
Tomsmith User

I apologize in advance if this is a silly question. I am not able to figure out how to copy the download link location into my download manager (accelerator). I have tried left click and then "copy link location" and manually paste it but that does not work, I have tried "ctrl+c" on the text that says "download link" and that does not work. When I hit "alt-click" it brings up the internal download manager that does not support acceleration. I am using firefox browser. If you would please be very specific as to how to "copy the download link" and put it into a download manager, I would be most appreciative. Thank You.


 
Mar 24, 2008
Angelous Scriptwright

Hola "Descriptor", te pido permiso para traducir tu Script al Español, esta de mas decir que he de respetar la autoría del mismo. Espero tu concentimiento para comenzar la traducción.
Saludos
Angelous

Hello. I would like to translate your script into Spanish, I think you have done an excellent job and I would like the Spanish-speaking, can enjoy your work. Of course, respect your authorship, it is your job and do not intend to mine. I hope you know apologise if not well understood this text, I am using the translator of "Google". Greetings. Angelous


 
Mar 22, 2008
Descriptor Script's author

The more I type above, the less people read.


 
Mar 22, 2008
Dhanjal User

Script is nice but it doesn't for the bigger files. I have still got to switch off and switch on my router.


 
Mar 21, 2008
Descriptor Script's author

@gregoire
I would never add that to this script, I would create a new script.
That is unlikely, but possible.


 
Mar 19, 2008
gregoire User

Tremendous script, would it be possible to add netload support in your way, with info that could be taken from http://userscripts.org/scripts/show/22063 for example (it miss the timer your bundle have).

Thank you very much


 
Mar 17, 2008
Descriptor Script's author

Version 2.6.2
Bug fix - I forgot to update some code for the Check for Update button


 
Mar 17, 2008
Descriptor Script's author

Version 2.6.1

  • + Added Preference Manager
  • Added "Apply" button for temporary changes
  • Added debug mode message logging to preferences
  • Added link to homepage with script date
  • Added Check Update button

 
Mar 16, 2008
Descriptor Script's author
Hmm, i refreshed the page with the error "Download-Ticket not ready. JavaScript error?" and it started the download.

Yes, I can try that to see what happens, I would expect the timer to start over though.


 
Mar 16, 2008
Descriptor Script's author

Please make sure you disable all other scripts, and maybe even download managers or possibly other add-ons, or even Stylish styles that might be enabled before reporting a bug in this script.

I have already waisted too much time debugging mysterious errors caused by other scripts, time better spent coming up with something new.


 
Mar 16, 2008
Descriptor Script's author

@xmas
I'm sure now, based on your description, that something else is causing the problem, another script maybe.
The ticket timer in this script is exact, I've tested it hundreds of times. First it gets the seconds RS requires you to wait, it adds that to your current time, in one second intervals it checks the current time. It even waits 1 extra second (1.5 now) before it tries to download, so there's no way it could download too soon, even if your latency were 0. The file size makes no difference in the script.

Other scripts use a JavaScript "countdown timer" which is very inaccurate, and that's why I don't use it. In fact RS's timer is that type so my script is more accurate than their's (however you have to type in the code after, which ads a few seconds).

I'm not suggesting there isn't a bug (I know of at least one), I'm saying that it isn't the timer (unless your computer's clock is screwy, and I can't believe that), and it has nothing to do with the file size or the length of the timer.

What I can do is to is to allow you to specify a delay factor of some kind. I'll see what i can do about that in the next update.


 
Mar 15, 2008
xmas Scriptwright

I dowloaded an even larger file, 100431 KB, worked fine. What happens? :|


 
Mar 15, 2008
xmas Scriptwright

Hmm, i refreshed the page with the error "Download-Ticket not ready. JavaScript error?" and it started the download.

Hope it helps.


 
Mar 15, 2008
xmas Scriptwright

The error is the same:

You have requested bla bla (81153 KB).

Download-Ticket not ready. JavaScript error?

Go back to try again.


 
Mar 15, 2008
xmas Scriptwright

... but doesn't work on really large, like 81153 KB. Can you autoupdate the captcha based on the timer or file size?


You could comment on this script if you were logged in.