Free RapidShare Service & Countdown Bypass JavaScript

The free RapidShare downloads are pretty good – but the downloading process  is unnecessarily frustrating. Whereas many other providers drown their visitors with ads to generate revenue that pay for their servers (which is reasonable), RapidShare forces you to wait for no reason other than to frustrate you.

Fortunately, as adblocker has proven, we are capable and legally entitled to control the display of websites as we please. So, with no further ado, here is the solution:

Simply right click and bookmark the above link, so that next time you’re stuck on a web page that’s making you wait for no good reason, you can open the bookmark, and the countdown will immediately complete.

Here is a Rapidshare File to test it on.

For those interested, here is how the script works:

  1. The aforementioned link executes javascript on the page it’s loaded on. This javascript loads an external file.
  2. In the external file, we pull all of the variables a page is using.
  3. One second later, we pull all of the variables again.
  4. We compare the first set of variables to the second set, and if any are exactly just one less, we identify a countdown timer
  5. We now know which variable to set – and we set it to 1 (or very low).

The bookmark link looks like this:

<a href="javascript:(function(){var head=document.getElementsByTagName('head')[0], script=document.createElement('script') ;script.type='text/javascript'; script.src='http://www.latentmotion.com/downloads/skip-timers.js?' + Math.floor(Math.random()*99999); head.appendChild(script);})(); void 0">Skip Timers Bookmarklet</a>

And the external javascript looks like this:

/*
 * Skip Timers - version 0.1
 * Written By: Brett Barros
 *
 * The purpose of this script is to save you time by setting countdown
 * timers immediately to 1.
 *
 * If you use this script, please link back to my site with credit / kudos
 *
 * Copyright (c) 2010 Latent Motion (http://latentmotion.com/downloads/skip-timers.html)
 * Released under the Creative Commons Attribution 3.0 Unported License,
 * as defined here: http://creativecommons.org/licenses/by/3.0/
 *
 */

// List of original variables
var oldVars = {};
for (var name in this) {
	oldVars[name] = this[name];
}

// Compare variables one second later
function compareVars() {
	var newVars = {};
	for (var name in this) {
		newVars[name] = this[name];
	}
   for (var key in oldVars) {
     if (oldVars[key] !== (newVars[key])) {
	  	 window[key] = 1;
     }
   }
}

// Call function to compare variables
setTimeout("compareVars()",1000);
  • Digg
  • Sphinn
  • del.icio.us
  • RSS

Popular Posts

Alternatively, you may want to return to the Home Page to view the most recent blog posts in order. If you have any questions, I make a point of reading and responding to all comments. Thanks for joining!

  • ElenSorpio
    There are many rapidshare search engines and all have about identical carried out functions. Among all the search engine http://www.usemeplz.com which is allocated provides search of files on rapidshare. It has no advertising, from pluses is a simple and convenient interface, pleasant design. Therefore I use it.
  • DG
    Hi, this is a bit of a late comment, but I just found your site while looking into jquery based bookmarklets.

    I wanted to say that I think this bookmarklet doesn't work (any longer). Yes, it ends the countdown, but you can't download the file. Most likely the server is keeping its own count also, which can not be changed by JavaScript.

    FYI, the best solution I have found for RapidShare, MegaUpload, and a few others is this: http://savanttools.com/RapidSh...
  • Vlad
    Script works just fine. Its awesome :)
blog comments powered by Disqus