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.
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 theStore_Prefsoption in the script to false. - Super-Easy navigation
Focus is added so you can just follow these steps...- Load RS file URL - focus will be on Free button
- Free button is clicked if freeSubmit enabled, or else just hit Enter - focus is now on captcha box
- Enter captcha code then hit Enter or click button - focus now on link
- 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'snavigator.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.
IfStore_Prefsis 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.
|
|
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 ... |
|
|
Still here, but personal issues keep me away.
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. |
|
|
Simply perfect :-D |
|
|
Found a little bug on a widescreen 1680x1050: |
|
|
Could you also add automatic download option for Happy Hours. |
|
|
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? |
|
|
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... |
|
|
*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
|
|
|
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 :-) |
|
|
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. |
|
|
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. |
|
|
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.
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 |
|
|
The more I type above, the less people read. |
|
|
Script is nice but it doesn't for the bigger files. I have still got to switch off and switch on my router. |
|
|
@gregoire
|
|
|
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 |
|
|
Version 2.6.2
|
|
|
Version 2.6.1
|
|
|
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. |
|
|
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. |
|
|
@xmas
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. |
|
|
I dowloaded an even larger file, 100431 KB, worked fine. What happens? :| |
|
|
Hmm, i refreshed the page with the error "Download-Ticket not ready. JavaScript error?" and it started the download. Hope it helps. |
|
|
The error is the same: You have requested bla bla (81153 KB). Download-Ticket not ready. JavaScript error? Go back to try again. |
|
|
... 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.


