View Single Post
Posts: 114 | Thanked: 45 times | Joined on Oct 2009 @ Turin, Italy
#4
I don't know if it will work, but try this:

// ==UserScript==
// @name Fully Maximize Google Calendar with F12 Toggle
// @namespace http://www.google.com/calendar/*
// @description Makes the most of Google Calendar on limited screen real estate (great for EEE PC).
// @include http://www.google.com/calendar/*
// @include https://www.google.com/calendar/*
// ==/UserScript==

(function(){

guser = document.getElementById('guser');
gbar = document.getElementById('gbar');
nav = document.getElementById('nav');
topbar = document.getElementById('topBar');
body = window.document.body;
mothertable = document.getElementById('mothertable');
if (guser.style.display != "none"){
guser.style.display = "none";
gbar.style.display = "none";
body.style.margin = "0px";
mothertable.style.padding = "0";
nav.style.visibility = "collapse";
nav.style.width = "0px";
topbar.style.visibility = "collapse";
unsafeWindow._SR_backToCalendar();
}else{
guser.style.display = "";
gbar.style.display = "";
body.style.margin = "0pt 1ex";
mothertable.style.padding = "0pt 1ex";
nav.style.visibility = "visible";
nav.style.width = "13em";
topbar.style.visibility = "visible";
unsafeWindow._SR_backToCalendar();
}
})();
 

The Following User Says Thank You to HoX For This Useful Post: