Because I forget stuff. Part of norcimo.com
Note: It appears you must have reached this page by a deep level URL. In general this site is currently down and unmaintained. See here
Originally posted April 12 2006 at 23:04 under Mozilla. 0 Comments. Trackbacks Disabled. Last modified: 13 April 2006 at 00:10
I wrote my first Firefox extension today. Well, I say wrote. I more or less based it on another one but that’s often the best way to start learning. Basically I wanted a couple of buttons to do a couple of fairly simple things but I couldn’t get Customizable Toolbar Buttons to work (well, I could, but had issues with the buttons not actually wanting to consistently show). So working from Simple EMButtons (because it does something as simple as add a couple of buttons—see the connection) I grabbed a GUID and wrote my own. It wasn’t really that difficult (along with the how to do it docs, some help and some guidance).
There doesn’t really seem much point in releasing it properly though, as it’s a fairly specialised thing (oh, all right. If you have Firebug [and want a button to toggle disabled/enabled], Accessibility Extensions [and want a button to toggle the toolbar] and want a button to change the title of the current tab, then my extension is here [incidently the button icons are simply taken from the Durango Research set from IconBuffet])
Name and email address are required. Email address is never shown. If you enter a URL your name will be linked to it (this and other links will have the rel attribute set to contain nofollow). Markup allowed: <a href="" title="" rel=""> <em> <strong> <abbr title=""> <acronym title=""> <p> <br />. Anything else is stripped; please be valid. Single linebreaks automatically convert to <br />, double to <p>'s. Additionally anything that looks like a bare URL should get automagically linked. Many acronyms and abbreviations are also automagically handled.
Please note this blog's comment policy
Trackback URL: http://www.norcimo.com/MT/mt-tb.cgi/546
© Ian Scott. Powered by Movable Type 3.2. This blog uses valid XHTML 1.0 Strict and valid CSS. All times are local UK time. For further details see the IMS_Blog about page.. All my feeds in one.