// ==UserScript==
// @name          GMail Without Ads!
// @version       1.01
// @description   GMail without ads, simple as it!
// @author 	  MDK (http://thecoreme.org/mdk) - based on original GMail in Blue: Professional skin from jbmarteau
// 			* Thanks to kris7topher for fix the border on the right
// @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); /* SHOW THE USEFUL LINKS (NEW WINDOW, PRINT ALL, ETC.) IN A ROW */ td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"] div.yMuNaf span { padding: 0px 6px 1px 6px !important; } td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"] div.yMuNaf td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"] div.yMuNaf span u { text-decoration: none !important; line-height: 13px !important; margin-top: 20px !important; } td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"] div.yMuNaf span img { display: all !important; } /* BLOCK THE ADS TABLE IN THE MESSAGE WINDOW */ td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"]>div.XoqCub>* { display: none !important; } td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"]>div[class=\"XoqCub\"]>div.yMuNaf { display: block !important; } /* QUICK LINKS */ td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"] div.yMuNaf { width: 100% !important; position: absolute !important; left: 0px !important; } td.eWTfhb>div[class=\"XoqCub\"]>div[class=\"XoqCub\"] div.yMuNaf div.OZly4d { padding: 0 !important; float: right !important; margin-right: 6px ! important; } /* WIDEN BODY */ h1.YfMhcb { margin-top: 5px !important; } td.eWTfhb>div { width: auto !important; padding-right: 5px !important; } /* DETAILS FIX BLUE FRAME ON RIGHT */ div[class=\"XoqCub rGOYzc\"] { margin-right: 0px !important; } table[class=\"PwUwPb XoqCub MMcQxe\"], table[class=\"PwUwPb XoqCub MMcQxe\"] div[class=\"XoqCub ice3Ad\"] { width: 100% !important; } div[class=\"Gi6zqd ccqOyd\"] { padding-right: 13px !important; } textarea.gV2Gwc { width: 100% !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); 
	}
}
})();

