Quick Online Tips
Home     About     Popular     Photoblog     Themes     Advertise     Shop     Jobs     Contact

Create Firefox Extensions On Your Own

March 8th, 2005
ADVERTISEMENTS

Mozilla Firefox is a versatile popular web browser and it is easy to enhance its functions by using extensions. A vague understanding of XUL and Javascript will get you going on.

An excellent article at Roachfiend.com explains how to create your first extension from scratch. Since every programmer always learns from the famous “Hello, world!” example, he explains it in a good way to introduce you to developing extensions.

helloworld.xpi is the packaged extension. XPI is just an file format that your browser will recognize as a browser extension. In reality, it’s just a zipped up file. So you can rename the XPI to ZIP or even JAR if you want, then open it up using an archive program, like 7-Zip or WinRAR. So, once that’s opened up, you’ll see:

  • chrome
  • install.js
  • install.rdf

A folder and two files. install.js was all you used to need for the installation, but now that the extension manager has changed (since Firefox 0.9), the install.rdf is used instead. Now, the install.js is used purely for earlier versions of Firefox/bird, Mozilla, and Netscape. If you want to make this extension solely for 0.9+ versions of Firefox, then you can omit this file if you’d like. I tend to keep it in because it only take a second to make, and assures a wide audience compatibility. Read more on how to make extensions in his article

RSS Subscribe RSS feed     Bookmark and Share



One Response to “Create Firefox Extensions On Your Own”

  1. hokya says:

    however, what kind of language is it?

    Java, javascript, or PHP ?

    that’s what i am still not understand

Leave a Reply

  • Subscribe free daily email newsletter Why?
  • RSS   Feed readers   Add to Google Reader or Homepage   Twitter
writeWrite a guest article - Showcase your site to our active community of bloggers, technology experts, and geeks. Now read 100+ guest articles
Jobs
Jobs on SEO | Blogging | SEM | Marketing | Software | More...
Jobs in Google | Yahoo | Microsoft | Adobe | Ebay | Cisco | Intel
Post a job - only $50 for 30 days! | 8 more reasons

Must Buy Software