Skip to content

Instantly share code, notes, and snippets.

@zed9h
Created July 17, 2009 06:59
Show Gist options
  • Save zed9h/148930 to your computer and use it in GitHub Desktop.
Save zed9h/148930 to your computer and use it in GitHub Desktop.
greasemonkey to removes the right column from the inner section of gmail
// ==UserScript==
// @name GMail Wide
// @version 1
// @description Removes the right column from the inner section
// @author zed9h
// @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); table.Bs.nH.iY > tr > td.Bu:last-child { display: none !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);
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment