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

Gmail - Insert HTML Signature - v 2.1.1

Inserts your HTML signature(s) into a GMail message. Works only with new version of GMail.

***UPDATED 3/27/2008***

This is similar to my other GMail - Insert HTML Signature script. However, this version is much improved because it takes advantage of the GMail Greasemonkey API.

Here are the improvements:
* It creates a navBox on the left side of the screen, towards the bottom, that lists the different HTML signatures you've created.
* It allows you to add, edit, preview and delete signatures without editing the script file.
* It automatically inserts the default signature (that you choose) into your email.

PLEASE NOTE:
* For this to work, right now, you must set a default signature. Otherwise, it will insert "undefined" as the signature. I'll fix that. Fixed

* For now, this only works in the Compose window. It does not work for replies, forwards, etc. I wanted to get this out there for people using GMail 2.0, so this isn't quite done yet. Works but not automatically. You have to click to insert into a Reply or Forward.

* I'm going to work on deleting the existing signature and replacing it with the one clicked. That way, if you want a signature other than the default, you don't have to delete the default first. Fixed.

* The edit and preview windows need a serious design makeover. Anybody have any ideas? UPDATE: I changed it a little.

As always, if you have any questions or suggestions, please don't hesitate to contact me via comments or email.




Jun 16, 2008
jlk User

This script is a great idea, but i cant seem to get it to work at all. I have it installed and checked off in the GreaseKit menu, and i've restarted everything. Does anyone have any ideas?

 
Jun 11, 2008
Sergey Martynov User

Nice plugin, thanks. But could it be modified to use it with plain-text messages? I prefer plain text for most emails, but this plugin does not work with plain-text editor at all :(

 
Jun 10, 2008
Gideon van M... User

Apparently 5 signatures is the max or the sig cooky can has a maximum string length.

Correct me if I'm wrong.

Why do I think this? Because I couldn't add a sixth signature: the text disappeared and the text "undefined"appeared. Also the signature textbox disappeared haphazardly. first I thought it was because of the new google gmail lab features and the new better gmail 2 skins but disabling those didn't help.

 
May 30, 2008
leatex User

I'm using this script whit commong GMail and it's working good. But I have a problem with Google Apps.
When you use my e-mail account in https://www.google.com/a/mercapsoftware.com I can see this script in the side bar, but it doesn't work.
It's a GMail version for business (http://www.google.com/a/help/intl/en/users/gmai...).
Please, HELP!!!!

Thanks

 
May 30, 2008
Gideon van M... User

How do I get the

* It automatically inserts the default signature (that you choose) into your email.
to work? I have set a default signature (it's now in Bold) and I have chosen no signature in the GMail settings, but no signature appears when I click on compose mail.

Something broken, or are my settings wrong. Also trouble with images: this one won't show: <img src='http://www.spreadfirefox.com/files/images/affiliates_banners/180x150_02c_en.png'> for unknown reasons. If the source is at another site it appears okay. Maybe the length of the string?

GvMelle

 
May 22, 2008
Matt Jabs User

Nevermind that last question. I read this on the script homepage:

"Cautions!!
Do not erase your cookies! Your signatures are stored in cookies on your computer. Erasing them will erase your signatures and you will have to retype them all…by hand. Hopefully, a future version will allow for bulk exporting and importing of signatures."

 
May 22, 2008
Matt Jabs User

This works awesome UNTIL I sign out of Gmail, then my signature disappears. It disappears every single time I sign out & back in.

Please help.

Thanks so much!

 
May 1, 2008
m3n3chm0 User

Hi all, i'm trying on ubuntu 8.04 and firefox 3 beta 5 ... when i install this script... there appear this error :

Error installing user script:

[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: chrome://greasemonkey/content/utils.js :: getWriteStream :: line 202" data: no]

Anybody could help me ?

 
Apr 26, 2008
tango_ninja User

This signature works great when I manually add my signature (from the sidebar). However, it doesn't add one by default -- in Compose, Reply or Forward.

 
Apr 24, 2008
Teresa P User

Hi,

I love this script. Signatures are the only thing I missed from Outlook. I have this problem though--I have several signatures. When I try to add them, it works well for under 10 signatures. But when I tried to load more signatures than that, all of the signatures in the list disappear. The first time I lost the list at 13 signatures, the second time I lost the list at 15 or 16.

Has anyone had the same problem or have any suggestions for me?

Thanks so much,

Teresa

 
Apr 13, 2008
theRamenNoodle User

I've realized something that this script could really use: styling consistent with the rest of Gmail's interface so that restylizing scripts can make this script look right.

Currently, I'm using this script: http://userstyles.org/styles/5867

 
Apr 13, 2008
peaceradical User

Yea, I've tried reselecting it and that doesn't help but this is weird, if I load a compose page the default signature isn't there but if I then reload the page using the firefox reload button, viola, it's there. I just get obsessed over little things that don't work right on my computer. I'm spending way too much time on this one.

 
Apr 13, 2008
hsrstud User

I just re-selected my default signature, and it showed up again. I don't know why I needed to do this, because the default signature was already in bold lettering (which, I believe, means it was already recognized as the default). Hopefully, this helps?

 
Apr 13, 2008
hsrstud User

Yeah, I dunno. The default signature seemed to be working fine for me after using your advice, but its not showing up for me again today. I can't point to anything I've done differently. I haven't installed any scripts or extensions, or other software.

 
Apr 12, 2008
peaceradical User

I can NOT for the life of me figure out why this script won't load a signature automatically when I hit compose. I've tried disabling all my other scripts and extensions. I've uninstalled it and deleted my cookies and reinstalled it and rewrote the signatures and it still is not working. They work well if I insert them and change properly from one to another but it's got me baffled why it doesn't load automatically. when I first got it, it worked fine. ???????

 
Apr 11, 2008
hsrstud User

Yep, seems to be working for me now. I notice I have to give Gmail a few seconds even after everything has loaded before composing a new message. Not a big hassle though.

 
Apr 11, 2008
hsrstud User

Huh, thanks for the useful feedback peaceradical. It seems the rich text is loading when I give Gmail time to fully load upfront. For some reason, the default signature is loading for me as well (at least for now). I'll test this again tomorrow.

 
Apr 10, 2008
peaceradical User

hsrstud,

I've noticed that when I first open gmail, if I go straight to compose I'll have the same freeze up you sound like you are having. If I give it a few seconds to load everything in the background then it doesn't freeze but the default signature doesn't load. I still have to insert the signature. This same script loaded the default for a while but for some reason it doesn't anymore. Don't know if google changed something or if it's something in my system.

 
Apr 10, 2008
hsrstud User

Just to confirm. When I download the script from this webpage, the version is listed as v 2.1 at the top of the script, however; I noticed that it's labeled v 2.1.1 on the webpage. I'm trying to figure out why its not working for me...

 
Apr 9, 2008
hsrstud User

Actually, this script still isn't working for me. As I mentioned below, generally, when I try to compose a message, Gmail freezes, saying it is loading rich text. Sometimes the script works, seemingly at random. I think this script is really useful, so I'm hoping this issue will be resolved in the near future. Thanks for working on this script!

 
Apr 4, 2008
peaceradical User

For a while, the default signature was inserted automatically but that has stopped working. It seemed to quit working after an announcement I got about a feature to change the time on an email was removed(which by the way doesn't show up in my compose either). It seems to be a challenge to keep up with googles changes. I've tried turning off other new or updated scripts to see if that was the problem but it doesn't seem to help.

 
Apr 3, 2008
ponderosatree User

Thanks for the working script! Any chance you can get it to insert automatically into emails? Hopefully with a signature float function (another Greasemonkey script that was broken with in Gmail 2.0).

 
Apr 2, 2008
hsrstud User

Never mind, its working again for me.

 
Apr 1, 2008
Verdi User

@mjb
The fist time I installed the script it worked and solved a an irritation I've been having for a long time. A soon as I refreshed though, the extra functionality was gone!
Wehen swithing to https, it's back! 1 refresh, gone again! Delete cookies, back. 1 refresh, gone. It must be some sort of cookie problem. Could it be that Google overwites yours? (if you use one).

Hope you help,

Verdi.

 
Mar 31, 2008
peaceradical User

It's working fine for me now. earlier versions wouldn't work with tables with colored backgrounds etc. When I would save the signature all of them would disappear but this version seems to be doing fine with tables etc. Also, another nice thing is that updates don't overwrite the signatures. Where are they stored at?

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