您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Put GMail on pause to stop distractions!
- // ==UserScript==
- // @name GMail Pause
- // @namespace http://tagansvar.eu/
- // @version 1.2
- // @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:bold !important;}');
- addGlobalStyle('div.UKr6le { width:73px; }');
- addGlobalStyle('.aRu {display:none;}');