DepositFiles.com Popup Remover

By CoDEmanX Last update Mar 22, 2008 — Installed 2,098 times. Daily Installs: 2, 3, 6, 6, 3, 7, 2, 3, 8, 7, 6, 4, 6, 8, 11, 5, 4, 6, 8, 3, 14, 5, 4, 7, 17, 3, 8, 0, 9, 4, 16, 4
// ==UserScript==
// @name           DepositFiles.com Popup Remover
// @namespace      http://userscripts.org/users/43176/scripts
// @description    Remove popups of DepositFiles.com (2008/03/22)
// @include        http://depositfiles.com/*
// @include        http://*.depositfiles.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 show_begin_popup(){}');

},false);