Welcome guest, is this your first visit? Create Account now to join.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

This is a discussion on [Featuring] HTML SIGNATURE within the Chrome Plugins section, part of the Google Chrome category: So I saw many people suggested it and I just googled it and found this site: GeekFG So you just ...


  1. #1
    mg2's Avatar
    mg2
    mg2 is offline Senior Member
    Join Date
    Jun 2009
    Location
    Karlsruhe, Germany, Europe
    Posts
    328

    Cool [Featuring] HTML SIGNATURE

    So I saw many people suggested it and I just googled it and found this site:
    GeekFG
    So you just insert your HTML Signature code (hopefully you know how to make one;you can use F***fox and Wisestamp to create one and copy the html code). DON'T click on "Insert signature above reply", it didn't work for me.
    Click on Step 2 and drag the [Signature] to your bookmarks bar. Next time you write a gmail email just click the bookmarklet and it inserts it in the text area. My advice is to do this first, because whatever you do it inserts it at the start of the message. I haven't tried using this on other email-service / blog, so if anyone has, please comment.
    Hope this will help you and I hope it wasn't already posted (tried the search, turned up empty).
    Have a great night/day
    BETTER GMAIL for Google Chrome

    Win7 RC1
    Google Chrome Dev latest version

  2. #2
    Bloody_Turds is offline Senior Member
    Join Date
    Aug 2009
    Posts
    152

    Default

    to bad this doesnt work in any text box >.< or it would be what i needed...

  3. #3
    mg2's Avatar
    mg2
    mg2 is offline Senior Member
    Join Date
    Jun 2009
    Location
    Karlsruhe, Germany, Europe
    Posts
    328

    Default

    not every text box is html-compatible. otherwise it's not that hard to make. that be something like Glyphs
    Last edited by mg2; 12-16-2009 at 02:18 PM.
    BETTER GMAIL for Google Chrome

    Win7 RC1
    Google Chrome Dev latest version

  4. #4
    Bloody_Turds is offline Senior Member
    Join Date
    Aug 2009
    Posts
    152

    Default

    i know of glypmh, the only problem with it is the fact that it shows all of your pasted info as the button name..

    itd be nice if the bookmark detected html acceptance, and bbcode, and used whichever one fits accordingly (or if neither just pasted in plain text, removing any code elements

  5. #5
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    I added this to
    Code:
    [  b  ]    [  /  b  ]   ;
    Glyphs

  6. #6
    Bloody_Turds is offline Senior Member
    Join Date
    Aug 2009
    Posts
    152

    Default

    yea but thats still pretty short, anything long like a signature would be impractical to store in glyphs, and would look ugly unless you can store an "alias" of that signature

  7. #7
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    unless Glyphs changes the format to allow one line per row instead of the present 6 characters in a row

  8. #8
    PAEz's Avatar
    PAEz is offline Moderator
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    656

    Default

    As the author stated Glyph isnt designed for long phrases, but if you desperately need it you can alter the code easy enough...
    popup.html
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    
    	<script type="text/javascript" src="options.js"></script>
    	
    <script>
    
    GlyphsPerLine=1;
    
    function sendGlyph(e){
    	chrome.windows.getCurrent(function (window){
    		chrome.tabs.getSelected(window.id, function(tab) 
    			{
    			var myPort = chrome.tabs.connect(tab.id);
    			if(e.ctrlKey){
    				myPort.postMessage((!e.target.title||e.target.title.length==0)?e.target.text:e.target.title);
    			} else {
    			if (e.target.code){myPort.postMessage(unescape(e.target.code))} else {myPort.postMessage(e.target.text)};
    			}
    			});
    		});
    }
    
    function div(op1, op2) {
    	var result = (op1/op2 - op1%op2/op2);
    	return result;
    }
    function GenerateSymbols () {
    	var template = readProperty("symbols", defaultSymbols);
    	var symbols = template.split('\n');
    	var linesCount = div(symbols.length ,GlyphsPerLine);
    	if(linesCount*GlyphsPerLine < symbols.length)
    		linesCount++;
    
    	var container = document.getElementById("container");
    	var table=document.createElement('TABLE');
    	table.width="250px";
    	for (var i=0;i<linesCount;i++) {
    		var tr = document.createElement("TR");
    		for (j=i*GlyphsPerLine; j<i*GlyphsPerLine+GlyphsPerLine;j++){
    			var td = document.createElement("TD");
    			if(j < symbols.length && symbols[j].length>0){
    				var link = document.createElement("A");
    				var sym = symbols[j].split(',');
    				link.href="#";
    				link.innerText=sym[0];
    				if(sym.length>1){
    					link.title = sym[1];
    					link.alt = sym[1];
    					if (sym.length==3)link.code = sym[2];              //////
    				}
    				link.onclick = sendGlyph;
    				td.appendChild(link);
    			} else {
    				var link = document.createElement("A");
    				link.href="#";
    				link.innerText='';
    				td.appendChild(link);
    			}
    			tr.appendChild(td);
    		}
    		table.appendChild(tr);
    	}
    	container.appendChild(table);
    }
    </script>
    <style>
    a {
    	font-size: 20px;
    	text-decoration: none;
    	color: black;
    	text-align: center;
    	margin: 2px;
    }
    td {
    	text-align: center;
    }
    
    </style>
    </head>
    <body onload="GenerateSymbols();">
    <div id="container"></div>
    
    </body>
    </html>
    ....Change popup.html to that

    now under options you can add a 3rd option to the line and if there is a third option it will add that instead...so 1st option is whats displayed in the table, 2nd option is the tooltip and 3rd option is what to add.
    The 3rd option needs to be encoded so use this page...
    http://www.opinionatedgeek.com/DotNe...de/Encode.aspx
    ...and youll endup with a line like this....
    sig,Some sig to add somewhere,Paez%0d%0ais%0d%0aDa%0d%0aFool!

    and you can change the value of GlyphsPerLine but be aware it can get ugly

    hope it helps till ya find something better
    Last edited by PAEz; 12-17-2009 at 09:06 AM.

  9. #9
    autopen is offline Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Default Autopen

    I just created a google-chrome extension that allows you to create html email signatures for gmail. Its called Autopen. Check it out let me know what you think.

    https://chrome.google.com/extensions...lahocpmacjloof

  10. #10
    alinescoo is offline Member
    Join Date
    May 2009
    Posts
    83

    Default

    Fantastic work! I wonder if it is possible to make a lite version of the extension that doesn't run in the background. Only when the action button gets pressed it would insert the signature.
    WPF tutorials for beginners. Even some N-tier here

Page 1 of 2 12 LastLast

Similar Threads

  1. Access inner html of page of active tab
    By Gaurang033 in forum Plugins Development
    Replies: 15
    Last Post: 05-16-2011, 10:51 AM
  2. Opening local HTML in New Tab
    By Michael3185 in forum Chrome Troubleshooting
    Replies: 8
    Last Post: 04-10-2010, 11:02 AM
  3. HTML 5 <video> tags or the end of Flash
    By Luc VN in forum Chrome Tech
    Replies: 4
    Last Post: 03-23-2010, 06:32 AM
  4. Buttons in html do not work.
    By retardedgenius in forum Bugs and Vulnerabilities
    Replies: 4
    Last Post: 06-13-2009, 10:07 PM
  5. HTML Home
    By ducktape in forum Chrome Tips & Tricks
    Replies: 12
    Last Post: 04-15-2009, 12:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •