Change Gmail Logo

By haden Last update Mar 4, 2010 — Installed 3,411 times.

slight problem

in
Subscribe to slight problem 4 posts, 3 voices



a Scriptwright

the entire form of a detached compose window has the same id as the gmail logo. This causes what ever the background you set to repeat all in the background of a detached compose window, which can look pretty awful. I added

 if (gLogo.tagName!="FORM") 
right before the set style. The logo on the main page is DIV, so I suppose you could check for that instead

 
a Scriptwright

whoops that didn't work. Change if(gLogo!=null to if(gLogo!=null && gLogo.tagName=="DIV")

 
haden Script's Author

Thanks for the suggestion.. I got it fixed...

 
Paucus User

{deleted}

Thanks..
PS: love your script...

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