Put GMail on pause to stop distractions!
当前为
// ==UserScript==
// @name GMail Pause
// @namespace http://tagansvar.eu/
// @version 1.1
// @description Put GMail on pause to stop distractions!
// @author Mikkel Kongsfelt
// @match https://mail.google.com/*
// @grant none
// ==/UserScript==
function hideUnread()
{
document.title = 'Gmail';
}
var t=setInterval(hideUnread,10);
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('tr.zE {display:none;}');
addGlobalStyle('div.aDG {display:none;}');
addGlobalStyle('div.aKs {display:none;}');
addGlobalStyle('.n1 .n0 { font-weight:normal !important;}');
addGlobalStyle('div.UKr6le { width:73px; }');
addGlobalStyle('a { font-weight:normal !important;}');
addGlobalStyle('.aRu {display:none;}');