Hide Gmail All Read

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") {
} else if (typeof PRO_addStyle != "undefined") {
} else if (typeof addStyle != "undefined") {
} else {
        var heads = document.getElementsByTagName("head");
        if (heads.length > 0) {
                var node = document.createElement("style");
                node.type = "text/css";

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s