Created
February 13, 2017 01:36
-
-
Save jondolan/2f656790de0e4fdbd086645efe22032c to your computer and use it in GitHub Desktop.
Google Calendar Small Window Style Fixer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GCalendar Fixer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://calendar.google.com/calendar/render* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.setTimeout(doit, 5000); | |
})(); | |
function doit() { | |
document.getElementById("gridcontainer").style.marginRight = "0px"; | |
document.getElementById("topRightNavigation").remove(); | |
document.getElementById("nav").style.marginLeft = "20px"; | |
document.getElementById("nav").style.width = "135px"; | |
document.getElementById("mainbody").style.marginLeft = "158px"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment