// ==UserScript==
// @name          GMail Without Ads!
// @version       2.0
// @description   GMail without ads, simple as it!
// @author 	  MDK (http://thecoreme.org/mdk) - based on original GMail in Blue: Professional skin from jbmarteau
// 			* 1.01 - Thanks to kris7topher for fix the border on the right
// 			* 1.02 - Fixed the overriding problem with large subjects
// 			* 2.0  - Fixed the "right-side" labs features (chat and labels)
// 			       - Bumped to a new version
// @include       http://mail.google.com/*
// @include       https://mail.google.com/*
// @include       http://*.mail.google.com/*
// @include       https://*.mail.google.com/*
// ==/UserScript==

(function() {
var css = "@namespace url(http://www.w3.org/1999/xhtml); /* QUICK LINKS */ .iY .tELAdc:last-child .nH > .nH > .nH:first-child { position: absolute !important; left: 0px!important; top: -30px !important; width: 100% !important; font-size: 70% !important; } /* QUICK LINKS AREA */ .iY .tELAdc:last-child .hj { font-size: 100% !important; margin: 0px !important; float: right !important; position: relative; } .iY .tELAdc:last-child .hj:hover { z-index: 2 !important; } /* QUICK LINKS AREA NEW WINDOW */ .iC .hj { font-size: 70% !important; margin-right: 4px !important; } /* QUICK LINKS AREA CONTAINER */ .hk { float: left !important; padding: 0px !important; } /* QUICK LINKS */ .hk span { display: block !important; width: auto !important; height: 1.8em !important; line-height: 1.8em !important; padding: 0 8px !important; background: transparent left center !important;} .hk:first-child span { -moz-border-radius-topleft: 3px !important; -moz-border-radius-bottomleft: 3px !important;} .hk:last-child span { -moz-border-radius-topright: 3px !important; -moz-border-radius-bottomright: 3px !important; } .hk u { text-decoration: none !important; } .hk img { margin-bottom: 2px !important; } /* NO ADS! */ .iY .tELAdc:last-child > .nH { height: 0px !important; overflow: hidden !important; width: 0px !important; }}";

if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();

