Skip to content

Instantly share code, notes, and snippets.

@ReneeVandervelde
Created July 1, 2011 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ReneeVandervelde/1058765 to your computer and use it in GitHub Desktop.
Save ReneeVandervelde/1058765 to your computer and use it in GitHub Desktop.
Google Calender UI Text Fix
// Copyright (c) 2011, Max Vandervelde
// Released under the MIT license
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "Calendar Text Fix", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name Calendar Text Fix
// @namespace http://diveintomark.org/projects/greasemonkey/
// @description Fixes the text on the new google calendar UI
// @include http://*.google.com/calendar/*
// @include http://calendar.google.com/*
// @include https://*.google.com/calendar/*
// @include https://calendar.google.com/*
// ==/UserScript==
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(
'.chip,.rb-n {' +
' color: #fff ! important;' +
'}');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment