Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Google Mail Customize

You can customize Gmail interface. Works with Gmail (older and newer versions) and Google Apps Mail.

Works with Gmail (older and newer versions) and mail for Google Apps.

With this script, you can :

- Hide ads
- Hide bookmarks (at the top of the page)
- Hide Labels
- Hide Invites
- Hide Low bar (action bar repeated at the bottom of email list)
- Hide footer (Copyrights, etc...)

- Modify button style (flat and black)
- Make you email body wider
- Show storage use in left menu
- Change background color for email lines (default : white)

Simple to configure, you set 1 for Yes or 0 to No.

To configure this script, edit the script (Manage User Scripts in the Greasemonkey user interface) and change the values (0/1) and save the modified file.

v2.3.1 :
- fixed: background color of hovered emails works with older Gmail version and Google Apps
v2.3 :
- added : hide chat option
v 2.2.1 :
- fixed : hide labels when chat is below labels
v 2.2 :
- white background for email lines works with new Gmail version
- added : background color of hovered emails (thanks bLfH)
v 2.1 :
- hiding ads works with new Gmail version
v 2.0 :
- some features are updated to work with new Gmail version
v 1.1.1 :
- modified : hide bookmarks because of Gmail UI changes
v 1.1.0 :
- bug : wrong var for button style condition
- added : change background color for email lines
v 1.0.2 :
- bug : new window and print all links were hidden
v 1.0.1 :
- bug : error if no footer exists






Apr 26, 2008
fobos Script's author

I also think that Google has made some changes recently and some functions doesn't work anymore.
I can't tell what changes has been made but I'll try to figure it out and fix the script.

 
Apr 26, 2008
killertofu User

I'm not sure if Google has made some recent changes, but many of the script's functions aren't working in the latest gmail version, including hiding ads, hiding chat, hiding labels, and widening the message body.

If I click on the "older version" link in gmail, the script works as expected. But if I click back to "newer version" (or type in gmail.com), the script loses the functionality described above. The UI button mods are still active, as are message hover highlighting. But the most important features to me (namely hiding ads and widening the body) no longer work.

And yes, I have verified that the settings are correct in the .js file.

Can anyone else verify these issues?

 
Apr 22, 2008
Dink Scriptwright

This script does not hide the low bar when reading any given mail subject...it only hides it when looking at the mail list...can this be fixed??

 
Feb 13, 2008
fobos Script's author

Christine,
You have to set isUseInMenu to 0
var isUseInMenu = 0;

 
Feb 13, 2008
Christine ALBA User

Very nice script, almost perfect for my needs. There is the "Gmail use" block I'd like to get rid of : any chance of adding this function ?

Christine

 
Feb 7, 2008
FBJ User

Thanks - great script. My wish list...
1. Modify font size for default Compose/Textarea - the base font is too small for my eyes. I have a bookmarklet to do this (fyi):

javascript:var cf=document.getElementById("canvas_frame"); var tb=cf.contentDocument.forms[0].body; tb.style.fontSize="2em !important"; var rf=cf.contentDocument.getElementsByTagName("iframe")[0]; rf.contentDocument.body.style.fontSize="2em !important"; void 0;

2. Modify background color of Left/Top Panels.
Thanks

 
Feb 5, 2008
bobielawlintine Scriptwright

Thank you.

Also do you think you can add an option to hide the chat section?

 
Feb 5, 2008
fobos Script's author

I fixed the issue of chat above vs below labels.
About the links a the top of the page (what I call bookmarks), it doesn't work right now with new Gmail version, and I'll try to figure out why.

 
Feb 5, 2008
searchforsun... User

i can also verify bobielawlintine's post; i noticed something was a little off when my chat box disappeared when it was set under the labels in the actual gmail settings dialogue.

it seemed that i couldn't manage to hide both the labels box AND the gmail usage box; it was either one or the other...however that seems to have been fixed with the last release yesterday.

great script though, any idea if it's still possible to hide the secondary gmail bar (the redundant one?)

 
Feb 5, 2008
bobielawlintine Scriptwright

OK I think I figured it out:

If the chat box is set above labels, then labels gets hidden but chat doesnt.

If the chat box is set below labels, then labels doesnt get hidden but chat does.

***********************************

Also how do I hide these links:

http://img524.imageshack.us/img524/9097/sshot12...

 
Feb 5, 2008
fobos Script's author

It's pretty weird and I don't really understand why it doesn't work. Did you modify anything else in the script ? Because, it's working for me, with your settings, and with both versions of Gmail.

 
Feb 5, 2008
bobielawlintine Scriptwright

I did do that and I made sure to make Google Mail Customize the first userscript too but look:

http://img527.imageshack.us/img527/8031/sshot11...

 
Feb 4, 2008
fobos Script's author

bobielawlintine : you should edit the script and set isHideLabels var to 1 (var isHideLabels = 1;)

bLfH : I've added your script which is quite useful. Thanks for sharing this.

 
Feb 4, 2008
bLfH User

I added another UI-modification which i find quite useful when navigating through long lists of mail:


var isAlterHoveredBG = 1; // alter bgColor of hovered Mails?
// alter bgColor of hovered mails
if (isAlterHoveredBG == 1) {
var headTag = document.getElementsByTagName("head")[0];
var hoveredMailStyleNode = document.createElement('style');
hoveredMailStyleNode.type = 'text/css';

// selector: .xweT7d
// orig. color: E8EEF7
// Button style
hoveredMailStyleCode = "tr.xweT7d:hover { background-color:#C3D9FF; }";
hoveredMailStyleNode.innerHTML = hoveredMailStyleCode;
headTag.appendChild(hoveredMailStyleNode);
}

Maybe it´s useful for some of you out there, too?

 
Feb 4, 2008
bobielawlintine Scriptwright

Labels arent being hidden for me.

 
Feb 4, 2008
fobos Script's author

Hiding ads should work now.

 
Feb 3, 2008
Batshua User

It's not hiding ads for me.

 
Jul 8, 2007
fobos Script's author

Hola Luis
Normalmente, cuando haces clic sobre el boton, Greasemonkey pide si quieres instalar el script. Si el codigo aparece, quizas Greasemonkey tiene problemas de instalacion.

 
Jun 6, 2007
jwh User

hi - can you give some pointers as to where & how you can configure the settings offered by your script? thanx!

 
Jun 3, 2007
Luis Garcia User

Hola, espero que alguien me pueda ayudar:
Le doy click al boton "Instal this script" y no pasa nada mas... solo abre la ventana y aparece el codigo, acaso hay que copiarlo y pegarlo en aguna parte¿?

I just only viewing the script source!

 
Jun 3, 2007
Luis Garcia User

hi, i need some help, how i get isntalled or install the script??? can anybody help me in spanish cause i`m
bad in english...

Regards.

 
May 15, 2007
Marc Brando User

How To Resolve The Greasemonkey Error Message that appears when trying to install scripts
==================================================
MESSAGE
"component returned failure code: 0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS)[nsILocalFile.copyTo]"
===================================================
If you've installed the "Extra Buttons Extension" you can go directly to your Firefox Folder by clicking on the Firefox Profile Folder you can display on your toolbar.

Otherwise locate the file manually.

Go to your Firefox Profile folder,
Go to extensions,
locate Greasemonkey Scripts Folder
entitled "gm_scripts"
Delete it from the folder.
Problem solved.

For information see
Greasemonkey Wiki
http://wiki.greasespot.net/Profile_directory

 
May 15, 2007
tmchow User

I'm having trouble installing this. I get this error:

"component returned failure code: 0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS) [nsILocalFile.copyTo]"

"nsresult: "0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS)" location: "JS frame :: chrome://greasemonkey/content/config.js::anonymous::line 148" data:no

 
Apr 27, 2007
embee User

I got the script installed, but don't know where to go to configure it. Help?

 
Apr 6, 2007
fobos Script's author

Thanks Sir Robert for finding this bug.
I've made the correction.

You could comment on this script if you were logged in.