google_calendar_colorize_today

make the present day more visibile (in 2-weeks- & month view)

目前為 2024-11-20 提交的版本,檢視 最新版本

// ==UserScript==
// @name           google_calendar_colorize_today
// @namespace      https://gf.qytechs.cn/de/users/157797-lual
// @match          https://calendar.google.com/*
// @version        0.6
// @author         lual
// @description	   make the present day more visibile (in 2-weeks- & month view)
// @author         lual
// @grant          GM_addStyle
// @icon           https://upload.wikimedia.org/wikipedia/commons/a/a5/Google_Calendar_icon_%282020%29.svg
// ==/UserScript==
// changes:        2017-11-10 initial
//                 2022-11-10 convert deprecated @include to @match
//                 2024-01-17 update the crazy css-class-names
//                 2024-11-20 update the crazy css-class-names
//                            (i'm not sure if google will keep these names for a longer period)
//                            if someone knows a better way, please tell me
////////////////////////////////////////////////////////////////////////////////
GM_addStyle(`
  /* today */

  /* OBSOLETE now broken...
  .ef2wWc {
    background-color: #BCD8E5 !important;
    background: linear-gradient(to bottom, #F5F5F5, #BCD8E5);
  }
  .SU7tYb.F262Ye {
    background-color: #BCD8E5 !important;
    background: linear-gradient(to top, #F5F5F5, #BCD8E5);
  }
  obsolete 2024-11-20...
  div.zYZlv:has(> h2.F262Ye) {
    background-color: #BCD8E5 !important;
    background: linear-gradient(to top, #F5F5F5, #BCD8E5);
  }
  */

  div:has(> h2.F262Ye) {
    background-color: #BCD8E5 !important;
    background: linear-gradient(to top, #F5F5F5, #BCD8E5);
  }
`);

QingJ © 2025

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