Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 0.49 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // ==UserScript==
  2. // @name           Google+ after coming Calendar CSS fix
  3. // @namespace      org.dronix.greasemonkey.calendar
  4. // @include        https://www.google.com/calendar/*
  5. // ==/UserScript==
  6.  
  7. var allDivs, thisDiv;
  8. allDivs = document.evaluate(
  9.     "//div[@class='tg-today']",
  10.     document,
  11.     null,
  12.     XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
  13.     null);
  14.  
  15. for (var i = 0; i < allDivs.snapshotLength; i++) {
  16.     thisDiv = allDivs.snapshotItem(i);
  17.     thisDiv.style.backgroundColor="yellow";
  18. }