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

Gmail HTML Signatures

Automatically inserts HTML signatures into your Gmail messages based on which address you are sending from. Works for Compose Message and Reply/Forward.

Current Version: 1.07 - Last updated January 30, 2008 - Version History


Save signatures in a text file before upgrading!

Details:

This is a script for the Greasemonkey Firefox add-on that will automatically insert an HTML signature into your Gmail messages based on the email address that you are sending from. You can create one signature for each account you have set up under "Accounts" in the "Settings" tab.ld work for both compose message and reply/forward.

Features:

  • Works for Compose Mail, Reply, and Forward
  • Support for single or multiple email addresses
  • Create a different signature for each email address you use in your gmail account
  • Signature automatically inserted into message above quoted text
  • Signature is automatically replaced when you change the address you are sending from
  • Easy setup interface

Setup & Installation:

If you have multiple email addresses set up in your gmail account, all you have to do is look for the 'Create Signature' link that appears on the 'Compose Mail' page. It is located to the right of the select box that allows you to choose which address you're sending from.

If you only send mail from your gmail address and do not have any other addresses set up, fill in your gmail address below and then look for the 'Create Signature' link on the 'Compose Mail' page. It is located just under the 'To' field.

Detailed instructions & screenshots

Upgrading:

Make sure you save your signatures in a text file somewhere in case they do not automatically carry over to the new version. If you have any trouble, uninstall all versions of this script and perform a fresh install.

License Information

Creative Commons License Gmail 2.0 Multiple HTML Signatures by Jerome Dane - Blank Canvas is licensed
under a Creative Commons Attribution-Share Alike 3.0 United States License.

Additional Licence Information




Like this script? Support its development and make a donation.




Please see Known Bugs before posting a comment or contacting the author to report a problem.



Apr 25, 2008
tango_ninja User

My signature works sporadically with this script. Sometimes it will show up and sometimes it will not (i.e. no signature at all). I only have 1 account.


 
Apr 24, 2008
Jerome Dane Script's author

@Robert Andrews

The trouble you are having with Google Apps is a known issue. Have you read through the known bugs?

http://blankcanvasweb.com/gmail2_html_sigs/bugs/

@kellerza

Thank you for the details! I'll look into this more when we get close to having a final FF3 release.


 
Apr 18, 2008
Robert Andrews User

It will store a signature for either one of my email addresses - but not both.
Am using Google Apps.


 
Apr 16, 2008
kellerza User

Thanks Jerome! This makes life a breeze

On FF3b5: If the script disappears, Clear you cache (only cache!) and reload. Ctrl-F5 doesn't work.

After a quick look at the script it seems as if the google greasemonkey api ('unsafeWindow.gmonkey') is not available when any elements are cached, strange!? (Even with only greasemonkey ext installed, 20080121 version)


 
Apr 15, 2008
Jerome Dane Script's author

The script still works just fine on the latest final (non-beta) release of Firefox (2.0.0.13). I will not be working on a fully supported Firefox 3 script until its official release this Falyl (if my understanding is correct). I simply do not have the time to rework the script for every release of the beta. My understanding is that it wasn't working through FF3 beta 3, but I have tested the script on FF3 beta 4 and FF3 beta 5, and they BOTH work for me. As soon as Mozilla gets close to a final FF3 release, I will check for final compatibility.

If the script "suddenly stops working" on any version of Firefox 2, FF3 beta 4 or FF3 beta 5 for which it was previously working, it is probably due to a conflict with another script or add-on that you have added. Try uninstalling everything but this script, checking if it works, then re-installing your other scripts and add-ons which checking for compatibility.

Please see known bugs (http://blankcanvasweb.com/gmail2_html_sigs/bugs/) before posting an "it's now working" comment.

Keep in mind that this is a free script that I work on in my free time. I know that it's not perfect, but while I am dedicated to making this work on as many versions of Firefox and Gmail as possible (I use it myself all the time), I do need to put supporting my family first.


 
Apr 14, 2008
Brian W User

Using FF 3 Beta 5, just noticed that when I turn on HTML Signatures, not only does it not work but it prevents my Rememberthemilk Gmail extension from working. Disabling this script allows RTM to start working again.

I noticed the same problem with enabling 2 specific options in the Better Gmail 2 extension.

Still love the script, just can't wait for FF 3 to go final so everyone can get all the kinks worked out.


 
Apr 7, 2008
lewisc User

Doesnt seem to be working for me anymore, tried uninstall / reinstall checked it on 2 machines.
Hopefully its nothing major and there will be a fix soon :)


 
Apr 3, 2008
parry101 Scriptwright

For some reason this has stopped working for me


 
Apr 2, 2008
Jerome Dane Script's author

Sounds like it's actually still not working for google apps, but there is a good workaround. Check the known bugs page.


 
Apr 2, 2008
Jerome Dane Script's author

Good news!

The script works on Firefox 3 Beta 4, so it looks like I won't have to do a rewrite after all! (Thanks to Brian for letting me know).

Also, for all you Google Apps users out there, Brian made the following comment:

"I copied your script and simply removed the code which deals with not having a gmail.com address."

I'll try to get around to making these changes in the official release soon.


 
Apr 2, 2008
fredy12345 User

Best price
http://wiki.script.aculo.us/scriptaculous/show/....
http://wiki.script.aculo.us/scriptaculous/show/....
http://wiki.script.aculo.us/scriptaculous/show/....
http://wiki.script.aculo.us/scriptaculous/show/....
http://wiki.script.aculo.us/scriptaculous/show/....


 
Mar 10, 2008
hueysds User

I got it to work for google apps using the information supplied by Jerome but when trying to use my google apps email address it prompts me saying that the address must be an @gmail.com address instead of my google app email address. Anybody know a workaround for this? Is there some code I need to change?


 
Feb 24, 2008
Indros User

@Mark

Are you running Firefox with the Greasemonkey extension installed? That's the prerequisite for using this script.

There may be an extension for Safari, as well, but I'm not familiar with it.


 
Feb 23, 2008
Mark Hannon User

Can you explain where this script needs to live on a Mac? When I try to install it, it simply places the file on my desktop. Is there a specific place it needs to be put?


 
Feb 21, 2008
Jerome Dane Script's author

Just a quick note to let everyone know that the project is still alive. I've been swamped with my full time job and side-contracts, which is very good, but means development on this script has been a little slow.

The next version will fix the single account bug.

I am aware of the Firefox 3 beta bug, which is due to the handling of document nodes from external sources. I can make it work, but it will take a while to rewrite the whole thing, and given that this Fall is the anticipated FF3 release date (from what I understand) I'm not too worried about it.


 
Feb 17, 2008
hakujin User

It would be nice if one did not have to create a gmail account with multiple email addresses, but instead could just associate different sigs with different login, like past (non functional) scripts.

Also, I can confirm the two email problem as well in relation to only remembering one. Requires closing firefox and reopening.


 
Feb 15, 2008
cwpollock User

I had some trouble getting the Script working with 3 Beta 3. Has anyone else been able to get it to work on that platform?


 
Feb 11, 2008
aladar User

ok, i have done those three things, (also set my language to be 'US English')

fingers crossed that the script starts working in the next few days


 
Feb 10, 2008
Jerome Dane Script's author

Try the following for google apps:

1. language must be English
2. turn ON "Next generation (US English only) New control panel features will be available to you a little earlier than with the current version."
3. turn ON "Turn on new application features to my domain before they are rolled out to all Google Apps customers."
4. wait one or two days until the new features appear


 
Feb 8, 2008
aladar User

Hello, i follwed the advice of Brit Mansell, and added my standard gmail account to my google apps gmail account, in the hope this would make the script work there, but it did not.

Brit did u add your google apps acount to your standard gmail account? or the other way around?
(as when sending from standard gmail, the 'true address' is still listed in the header)

Right now i cant find any greasemonkey script for an html signature that works with Google apps.

Jerome, do you still need access to an account to figure this out? i'll talk to my guys about getting one if you do.

Brit Mansell:
I'm using Google Apps and it works fine for me, but only after I added an additional account (to gmail) to send mail from.


 
Feb 6, 2008
Cody Walker User
Here's mine.. so SIMPLE... looks like -- Cody <--->
--
Cody
cody@myemailaddress.com
901-888-7777

 
Feb 4, 2008
cwpollock User

Great contribution, I like the way that you are able to add the HTML right in the compose view. I wrote a short tutorial on how to create a slick looking signature with your script:

http://sim.plified.com/2008/02/02/slick-looking...


 
Feb 2, 2008
adria.richards User

Sweet! With the updated script, I can now use Gmail Addons, Remember the Milk for Gmail and Gmail HTML Signatures concurrently! RTM for Gmail kept dissapearing and when I added Gmail for HTML signatures around the 25th, it slowed Gmail down considerably.

(Reposted this comment at Gmail Addons)


 
Feb 1, 2008
Jerome Dane Script's author

HatastiX,

This script is not affected as far as I can tell, but I will keep an eye on it. It may be that my gmail account has not yet gotten the updates (not sure how google rolls them out.)


 
Feb 1, 2008
HatastiX User

FYI... I'm not sure if this applies to you

http://gmailblog.blogspot.com/2008/01/gmailgrea...

"We recently pushed a change so Gmail Javascript now loads in an iframe."

"If you're the author of a Gmail Greasemonkey script, you should be able to work around the update by changing the window object used -- Mihai P. posted an update to his Macros script on Friday. If you are accessing the "gmonkey" object via a different mechanism, then you can reference it using top.js.gmonkey for now, and an update will be pushed this week that creates an alias in the main window's context."


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