Link to original post: [drupal=1441]Don't Wait for Megaupload[/drupal]
Was a bit bored, and decided to fix one of the small issues I have with megaupload.
You know how it makes you wait 40 seconds (25 for free registered users) before you can download a file? Well, I decided to script something up that fixes that. I'm sure there are other methods available to do this, I just wanted to do it myself.
This works for Firefox (it might work in IExploer, but i'm not sure how to actually add it lol).
Add a new bookmark (via right clicking the bookmark toolbar, or using the Organize Bookmarks feature: Bookmarks->Organize Bookmarks...)
Name: MegaNow
Location:
Leave Keyword blank
Do whatever you want with description, maybe something like:
Download a file from Megaupload without waiting!
Now when you go to a Megaupload file downloading page (and you have the "Please wait for ## seconds" message), just click that bookmark (or access it through the bookmarks menu, and the counter will be replaced by the download now button, and your download will immediately pop up as if you'd clicked the button (no clicking required).
Rapidshare
I've Now updated this for Rapidshare. There are a couple of things about this one, though. Rapidshare seems to have some difficulties. As far as I can tell, this code does exactly what it should to skip the waiting time and start a download, but for some reason, it doesn't always work (and giving a page that says there's an error, make sure your browser supports javascript), but this code works some of the time.
Name: RapidNow
Location:
Leave Keyword blank
Do whatever you want with description, maybe something like:
Download a file from Rapidshare without waiting!
Use this on the page after clicking the "Free User" button.
Hope this helps some people!
Was a bit bored, and decided to fix one of the small issues I have with megaupload.
You know how it makes you wait 40 seconds (25 for free registered users) before you can download a file? Well, I decided to script something up that fixes that. I'm sure there are other methods available to do this, I just wanted to do it myself.
This works for Firefox (it might work in IExploer, but i'm not sure how to actually add it lol).
Add a new bookmark (via right clicking the bookmark toolbar, or using the Organize Bookmarks feature: Bookmarks->Organize Bookmarks...)
Name: MegaNow
Location:
Code:
javascript:(function(){document.getElementById('downloadlink').style.display='';document.getElementById('downloadcounter').style.display='none';window.location=document.getElementById('downloadlink').firstChild.href;})()
Do whatever you want with description, maybe something like:
Download a file from Megaupload without waiting!
Now when you go to a Megaupload file downloading page (and you have the "Please wait for ## seconds" message), just click that bookmark (or access it through the bookmarks menu, and the counter will be replaced by the download now button, and your download will immediately pop up as if you'd clicked the button (no clicking required).
Rapidshare
I've Now updated this for Rapidshare. There are a couple of things about this one, though. Rapidshare seems to have some difficulties. As far as I can tell, this code does exactly what it should to skip the waiting time and start a download, but for some reason, it doesn't always work (and giving a page that says there's an error, make sure your browser supports javascript), but this code works some of the time.
Name: RapidNow
Location:
Code:
javascript:(function(){c=0;fc();document.getElementsByName("dlf")[0].submit();})()
Do whatever you want with description, maybe something like:
Download a file from Rapidshare without waiting!
Use this on the page after clicking the "Free User" button.
Hope this helps some people!