RS_Bundle

By Descriptor Last update Jun 19, 2008 — Installed 150,900 times.
Rapidshare Free service helper (v2.6.5)

This script has no reviews.

What's new: things are coming along nicely, and I won't likely add any comments below. Thanks for all your nice comments, I'll keep you informed here. (I've fixed some bugs, some people have already figured out where to look).

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.
The first time you install this script and visit a RS page, this menu will appear. If you edit the script and set storePrefs: false, then it should not appear, but, of course, that preference is not saved so updating resets that to true.

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 link-protector.com
  • 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, French 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. The Preferences Manager should appear if any preference isn't already set - I hope I tested that
  • 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.