![]() |
Need help editing a user script
Hey all!
This actually should be a very, simple request. I found a script that can be used in Greasemonkey that makes Google Calendar appear full screen. The only downside is that you need to press F12 to enable it. Could someone edit the script and entirely remove the need for this F12 keyboard command and post it back here? Just have it full screen by default and don't even bother with allowing for a way to restore it back. The script can be found here: http://userscripts.org./scripts/show/21376 Hopefully someone with a brain will respond back. :) |
Re: Need help editing a user script
Quote:
if((e.keyCode==123)) { e: if you want to do it automaticly, that needs to be modified bit more. or try to remove window.addEventListener("keydown",function(e) { if((e.keyCode==123)) { //if((e.keyCode==122)&&(e.ctrlKey)) { //control-F11 }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(); } } }, false); and see what happends |
Re: Need help editing a user script
Hey ossipena!
Yeah, I'm just looking for an automatic, full screen calendar. No keys and certainly no way to restore it back either. I can't lie, there's not a single thing in that code that makes any sense to me. Could you just post the part of the script that makes the web page go full screen? That's all I'm really ask for. Thanks! |
Re: Need help editing a user script
I don't know if it will work, but try this:
|
Re: Need help editing a user script
All I did is commenting out line 11, 12, 39 and 40.
Code:
// ==UserScript== |
Re: Need help editing a user script
Just change 123 (F12) to 117 (F5) and press the full-screen key on the N810 and it works. I have tested it.
EDIT: I haven't tried their methods yet. This one is a little buggy. I have a short video showing it in use (must click calendar column before full-screen or microb gets confused) http://pastebin.com/f19ac8b24 & http://p7230.homelinux.com/os2008/F5gCalendar.avi |
Re: Need help editing a user script
Thanks guys!
I'm completely new to trying out Google Calendar. Basically what I was hoping for was something like this without the two blue arrows (a different user script I found that had weird results). http://img297.imageshack.us/img297/2105/cal.png I'll run each of your suggestions tomorrow but wanted to thank you all ahead of time. :) |
Re: Need help editing a user script
I went with Kozzi's script and it works to perfection! Many thanks!
Using his script along with Google Calendar Textwrap Events makes viewing and using Google Calendar so much easier! One last question. How can I make it so that MicroB opens in full screen without needing to toggle? I'm sure it's been asked before but searching the forums has proven to be too exhausting. |
All times are GMT. The time now is 09:46. |
vBulletin® Version 3.8.8