Tuesday 19th February 2008

by Sajith M.R

Moizlla Plugin Development

Steps to create a mozilla plugin>

1) You need Mozilla Firefox Web Browser (Download from: http://www.mozilla.com/en-US/)

2) Initail steps for a Hello World program is here : http://developer.mozilla.org/en/docs/Building_an_Extension

The package is zip file saved with xpi ( pronounced as zippi ). And the Interfacing language is called XUL

You can edit and test your xul templating using this url: http://ted.mielczarek.org/code/mozilla/xuledit/xuledit.xul

The Browser itself written in XUL format. Its basic structure is called XUL Overlay. We can override any part of that overlay with id. (See: http://developer.mozilla.org/en/docs/XUL_Overlays)

This is how different plugin’s are integrated with already existing mozilla browser. You can Override, Expand, or add separate window for your application.

Since the usage of desktop application are increasing and the need of javascript have more significant nowadays ( Ajax, Flash, Flex, Adobe Air) , We should follow client side developments.

If XUL is for templating , Javascript is action creator here. You can write your code in javascript.

After creating your application , you can showcase it on firefox extension folder. They put your code in sandbox. After testing, if it is an useful one, they will add it to their public package listing so that
everybody can access you extension.

So start your Hello World Application with Mozilla Plugin NOW .

Feel free to contact me in: admin@sajithmr.com or D@OLPH.IN

Tags: , , , , ,

· · · ◊ ◊ ◊ · · ·

9 Responses to “Mozilla Plugin Development”

  1. Good description. I suppose I’ll create one with your help )))

  2. Kanda says:

    I’m right now doing a miniproject for my college so i require these details to proceed with my project work.It’ll be very helpful if u reply.

    I have created a protoype with the steps given above it was really helpful.Now i have few doubts,

    1. How to monitor a textbox in a webpage using script in an XUL file? bcoz we donot know d id of it.

    2. Is there a way to monitor the key presses by the user no matter where the focus is on??

    I could not find a good tutorial to have a clear view about the coding of xul file. if u have a link please do send me.

  3. hani says:

    Hi
    How do i add a button to mozilla toolbar

  4. Girish says:

    is there any ide or development plugin to create xpi file?

    Thanks in advance

  5. sateesh says:

    Hi All
    how should i create a plugin that save the particular browser document to a file for a particular timer events

    Thanks in advance

  6. victor says:

    what different extension with plugin ?
    help me..

  7. victor says:

    it’s extension no plugin.
    how to create plugin for firefox?
    please help?
    thanks..

  8. kk says:

    it’s extension,not plugin,please

· · · ◊ ◊ ◊ · · ·

Leave a Reply

وظائف 2011 تحويل العملات برامج برنامج تسريع التحميل برنامج الفلاش برنامج محول الصوتيات عربي hotel 2011 زيادة رواتب العساكر 1431