MegaUpload.com Popup Remover

By CoDEmanX Last update Jan 25, 2008 — Installed 3,672 times. Daily Installs: 3, 4, 1, 7, 1, 4, 3, 2, 3, 5, 3, 5, 4, 3, 1, 1, 2, 3, 3, 3, 4, 1, 0, 2, 1, 3, 3, 0, 3, 3, 1, 4
// ==UserScript==
// @name           MegaUpload.com Popup Remover
// @namespace      http://userscripts.org/users/43176
// @description    Remove popups of MegaUpload.com (2008/01/25)
// @include        http://www.megaupload.com/*
// ==/UserScript==

function addJS(a)
{
	var b = document.getElementsByTagName('head')[0];
	if(!b){ return }
	var c = document.createElement('script');

	c.type = 'text/javascript';
	c.innerHTML = a;
	b.appendChild(c)
}

// Wait until the page is fully loaded
window.addEventListener( 'load', function( e ) {

	// Remove annoying popups
	addJS('function popup(){}');
	addJS('function popup2(){}');
	addJS('function popup3(){}');

},false);