GMail Pause

Put GMail on pause to stop distractions!

  1. // ==UserScript==
  2. // @name GMail Pause
  3. // @namespace http://tagansvar.eu/
  4. // @version 1.2
  5. // @description Put GMail on pause to stop distractions!
  6. // @author Mikkel Kongsfelt
  7. // @match https://mail.google.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. function hideUnread()
  12. {
  13. document.title = 'Gmail';
  14. }
  15. var t=setInterval(hideUnread,10);
  16.  
  17. function addGlobalStyle(css) {
  18. var head, style;
  19. head = document.getElementsByTagName('head')[0];
  20. if (!head) { return; }
  21. style = document.createElement('style');
  22. style.type = 'text/css';
  23. style.innerHTML = css;
  24. head.appendChild(style);
  25. }
  26.  
  27. addGlobalStyle('tr.zE {display:none;}');
  28. addGlobalStyle('div.aDG {display:none;}');
  29. addGlobalStyle('div.aKs {display:none;}');
  30. addGlobalStyle('.n1 .n0 { font-weight:bold !important;}');
  31. addGlobalStyle('div.UKr6le { width:73px; }');
  32. addGlobalStyle('.aRu {display:none;}');

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址