GMail Compactor

By Pavel_Gutin Last update Nov 6, 2009 — Installed 13,746 times.

compatible with google apps gmail?

in
Subscribe to compatible with google apps gmail? 6 posts, 6 voices



glycolized User

I get weird button behavior from this script. The page looks like it should, but when I click the 'compose' button, I'm directed to a gmail login page. Actually, all the buttons do this.

I am using gmail with my google apps account. I have disabled my other gmail-related extension and scripts (I only had Better Gmail running), just to see if that would make a difference.

This script looks great though.

 
Pavel_Gutin Script's Author

I didn't even think about google for domains. I will try to fix this in the next release.
Thank you for your feedback.

 
J-Mo User

I'll stick my hand up here as well. I love the look of this script. If it worked for Apps it would be perfect. Thanks, Jamie.

 
besen User

Didn't see this before and posted in the issues page. Anyway, here it goes again:

What I did to correct this behavior was put this:

var address = new String(location).split("?")[0]

in the begining of the initializeFolderImages() function, and then replace all hardcoded "https://mail.google.com/mail/" with the address variable. So

"https://mail.google.com/mail/#contacts"

becomes

address + "#contacts"

This needs some more testing, but it's working for me.

 
VinnieCool User

In addition to the url there is one more issue of hiding the header. I am using:
if (apps)
mastHead.getElementsByTagName('div')[16].style.display = 'none'; //i need to figure out a better way reference this
else mastHead.getElementsByTagName('div')[19].style.display = 'none';
//or hide the complete block - hides search and filter options as well!!
/*
var els = mastHead.getElementsByTagName('div');
var elsLen = els.length;
for (i = 10; i < elsLen; i++) {
if ( els[i].className == "no" ) {
els[i].style.display = 'none';
break;
}
}
*/

 
skywalka User

Vinnie U R def Cool!

This part of the script was conflicting with others I was also using. I had no idea what I was doing but somehow I got it to work.

Thanx mate.

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