Home   About   Popular   Archives   Advertise   PhotoBlog   WP-Theme   GuestBlogging   Projects   Contact

Create Firefox Extensions On Your Own

March 8th, 2005 | Filed under Firefox, Miscellaneous.
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

Liked this article? To continue getting our latest free tips and tricks, you can grab the feed or get the email newsletter. More related articles:

Related Articles

» Extend Firefox Contest Finalists
» Fix Buggy Problematic Firefox Extensions
» Flocker : Flock Extensions from Firefox Extensions
» Maximum Firefox Extensions You Can Install : 200 or More!
» Firefox Extensions Development Tutorials : Create Your Own

Comment on “Create Firefox Extensions On Your Own”

Quick Online Tips is a popular technology blog publishing technology news, blogging tips, and Web 2.0. Read by 16000 RSS readers daily, we get half million pageviews/month. Read more about us. Find us on Twitter | Stumbleupon | Friendfeed


Go Daddy $6.95 .com Sale 125x125