Gmail recently turned on for me the various inbox workflow tabs. I like listing my unread messages first, so the addition is most welcome. But the view by default includes this gargantuan cutesy notification when there are no unread messages in my inbox. Since unread messages are marked in a bold typeface, the extra notification, with its nine miles of whitespace above and below, isn’t necessary. So here’s a quick script to hide it, cribbed mostly from the Legible SVN Diffs in Gmail userscript I mostly cribbed from somebody else. This userscript takes care of the problem by hiding elements with classname “qd.”
// ==UserScript== // @name Hide Gmail All-Read Notice // @namespace http://daryl.learnhouston.com/ // @description Hide the pesky "Woohoo" message in the "Unread first" gmail view. // @include http://mail.google.com/* // @include https://mail.google.com/* // @include http://*.mail.google.com/* // @include https://*.mail.google.com/*// ==/UserScript== // ==/UserScript== (function() { var css = ".qd { display: none; }"; if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof PRO_addStyle != "undefined") { PRO_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); } } })();