In my journey to write a firefox extension for bugile i found a nice simple howto to write a ‘hello world’ extension in a simple few steps xml code.

One of the best things about Firefox and Thunderbird is that they have a well defined extension mechanism. If there’s some feature you feel is completely missing, you can go ahead and add it. It’s relatively easy to do — you don’t have to fiddle about with a C compiler because extensions are mostly written in a combination of XML and ECMAScript.

I’ve recently been getting up to speed with the mechanics of writing an extension for Firefox and Thunderbird. I thought it might be a good idea to share what I’m learning in my blog. Hopefully the information might be useful to others trying to learn how to write Mozilla extensions. In this blog, I’ll take a look at installing a really simple extension into Firefox that adds a “Hello World” menu item to the Tools menu.

Here is a simple code:





urn:mozilla:package:helloworld”
chrome:displayName=”Hello World”
chrome:author=”Brian Duff”
chrome:authorURL=”http://modev.dubh.org/helloworld”
chrome:name=”helloworld”
chrome:extension=”true”
chrome:description=”A simple demonstration firefox extension.“>







chrome://helloworld/content/helloworld-Overlay.xul


full article here 


del.icio.us:Nice simple howto write a firefox extension digg:Nice simple howto write a firefox extension newsvine:Nice simple howto write a firefox extension fark:Nice simple howto write a firefox extension

SPEAK / ADD YOUR COMMENT
Comments are moderated.

Return to Top

Nice simple howto write a firefox extension

FRESH / LATEST POSTS

My Mobbroll



www.flickr.com

Tags


apple ,  asi dayan ,  auction ,  bill gates ,  bizwise ,  Bugile ,  bukaa ,  cloverfield ,  code ,  death ,  Deface ,  design ,  develop ,  digg ,  Disc review ,  domains ,  fashion ,  firefox ,  first timer ,  funny ,  geek ,  General ,  gizmos ,  gmail ,  google ,  great service ,  hackers ,  icq ,  idf pizza ,  instant messenger ,  israel ,  jj abrams ,  life ,  linux ,  metalist ,  microsoft ,  model ,  movie ,  music ,  negotiation ,  New start? ,  news ,  Nokia ,  nuclear ,  oron ,  peace ,  phising ,  poor ,  pub ,  review ,  security ,  selling ,  service ,  social ,  software ,  spam ,  ssl ,  starwars ,  stupid ,  terrorist ,  toaster abuse ,  tshirt hell ,  ubuntu ,  usability ,  useless id ,  web 2.0 ,  web savvy ,  Yeah right ,  zoho ,