Megaupload slot limit hack

By echelon Last update Aug 22, 2007 — Installed 26,168 times. Daily Installs: 23, 18, 31, 21, 40, 32, 32, 33, 15, 36, 23, 23, 17, 22, 19, 15, 19, 25, 31, 23, 23, 25, 21, 18, 18, 21, 29, 18, 27, 6, 21, 31
//	Megaupload Cookie
//	(c) Wintermute 2007
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.
//
// To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "Megaupload Cookie Inject", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name Megaupload slot limit hack
// @namespace http://www.ms.mff.cuni.cz/~hosel4am
// @description allows you to bypass megaupload slot limit without installing their toolbar
// @include *megaupload*
// ==/UserScript==

function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

createCookie('megauploadtoolbar_visibility', 'yes', 7);
createCookie('megauploadtoolbar_id', '197A9F07D8724E438DEBE1C11EBBE405', 7);