GMail toggle searchbar area

By Gurjeet Singh Last update Aug 10, 2011 — Installed 12,326 times.

Google Chrome Support?

in
Subscribe to Google Chrome Support? 8 posts, 4 voices



Brad Lambeth User
ChromeMacintosh

This script works great in Firefox on OSX, but nothing happens for Google Chrome. I know it can be hit or miss with Greasemonkey scripts in Chrome, so could you adapt it as a Chrome Extension? Or perhaps find the hang up which causes it to not function in Chrome?

Thanks

 
Dan Cork Scriptwright
ChromeWindows

Seconded, this is sadly one of the only things I miss in my switch from firefox to chrome!

 
Gurjeet Singh Script's Author
FirefoxWindows

I don't use Chrome (I did try it for a while).

Please see if the latest version of the script works for you. I have changed the internals of the script a bit, so it might work for you this time.

Thanks for the feedback.

 
Dan Cork Scriptwright
ChromeX11

Doesn't work in Chrome or Chromium. I tried switching back to firefox but the speed drop was not worth it.

 
Dan Cork Scriptwright
ChromeX11

Does anyone know of a working script(s) that hides the logo and searchbars in gmail and gcalendar?

 
Brad Lambeth User
ChromeMacintosh

unsafeWindow appears to be the reason it doesn't work in chrome. Is there any way to implement this script without the use of unsafeWindow? More details available here:

http://code.google.com/p/chromium/issues/detail...

 
Elad Ossadon Scriptwright
ChromeMacintosh

Google Chrome is now supported. The lack of GM_getValue/GM_setValue is what prevented it from working. However, I wrote a fix for that: http://devign.me/241/greasemonkey-gm_getvaluegm...

Elad

 
Gurjeet Singh Script's Author
FirefoxWindows

@Elad thanks for the fix. Its funny that I found your fix from other sources, fixed my script, and then read this comment.

BTW, the script needed a few other fixes to be Chrome compatible. Most notably

.) Use of sessionStorage instead of localStorage, because GMail is divided into frames and localStorage doesn't seem to work across frames.

.) removal of GM's unsafeWindow.

.) Inclusion of jQuery script in this GM script rather than delay-loading it. This has increased the size of this script 18 folds, but that's a small price for this feature IMHO. Perhaps @require will solve this but I am leaving that test for another day.

Thanks again for the idea.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel