CtgoFx

Remove ads and white spaces.

Ajankohdalta 25.10.2014. Katso uusin versio.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        CtgoFx
// @namespace   https://greasyfork.org/es/users/6316-itsuki
// @description Remove ads and white spaces.
// @match       http://*.chatango.com/*
// @author      Itsuki
// @version     251014-15
// @grant       GM_addStyle
// ==/UserScript==

GM_addStyle("#ad, #ad_placeholder_td, #ad_wrapper, #buyers_ad, #bottom_table, \
	* body [name*='google_ads_frame1'], * body [name*='google_ads_frame2'], \
	#left_container [href*='ad'], .topad { \
		display: none !important; \
		visibility: hidden !important; \
	} \
	#flashcontent { \
		display: block !important; \
		position: absolute !important; \
		top: 0px; \
		left: 0px; \
		width: 100%; \
		height: 100%; \
	}");

function fixPage() {
	document.getElementsByTagName("col")[1].style.display = 'none';
	document.getElementsByTagName("colgroup")[0].style.display = 'none';
}

try { fixPage(); } catch(err) {}