Results 1 to 4 of 4

Thread: How to create Firefox Extension

  1. #1
    Join Date
    Jan 2009
    Posts
    721

    How to create Firefox Extension

    Hi,
    I am using Mozilla Firefox in my system for browsing internet. I want to develop some extension in Firefox. I need some steps to generate new extensions in Mozilla Firefox. How can I setup a extension development environment in Firefox. Also how to setup the extension without using old settings in Mozilla Firefox. Thanks.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: How to create Firefox Extension

    First you will need to setup your environment to develop extension. Then plan you extension. I am listing some example to make your work easy. The example here provides a menu option that will generate a message in a window. To do this you will need the following fils. chrome.manifest, intall.rdf, overlay.xul, overlay.js, overlay.dtd, hi.dtd, overlay.css, hi.xul, higuys @ mozilla.doslash.org... Name the files as you want. Then follow the below folder style and create a extension. You will have to edit each file mentioned above and put then in the below folder structure.
    higuys/ chrome.manifest, install.rdf, content/ overlay.js, overlay.xul, hello.xul, locale/ en-US/ overlay.dtd, hi.dtd, skin/ overlay.css

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: How to create Firefox Extension

    To first setup a new extension you will need to follow some steps. So that you Firefox does not get any harm. Sometime the extension does not work. This is due to poor development of the extension. By Profiles you can save your Firefox settings and then restore them back if you do not want the extension anymore. Go to Start > Run > type cmd and give the command - windows directory\Program Files\Mozilla Firefox>firefox.exe -profilemanager. Create a new profile in that and run it. Then add up new extension and check out that they are working or not. If you have any trouble then in the same way restore your profile.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: How to create Firefox Extension

    Mozilla Firefox offers an extension add on tab to create new extensions. You can try that. But first setup and extension development environment by creating a profile and setting up preferences. To create a separate profile use the below code :"" "%ProgramFiles%\Mozilla Firefox\firefox.exe" -no-remote -P dev. Now in mozilla open the about:config file and create a new entries for the below list.
    • javascript.options.showInConsole = true
    • nglayout.debug.disable_xul_cache = true
    • browser.dom.window.dump.enabled = true
    • javascript.options.strict = true
    • javascript.options.strict = true

    Then open fire fox and click on tools add on. In the the add on box go to the get addon and type extension tab.

Similar Threads

  1. How to create bundles of all the extension?
    By Rahul Surya in forum Technology & Internet
    Replies: 1
    Last Post: 26-04-2012, 03:25 AM
  2. Firefox force to install extension with Firefox 7 add-on
    By Bjork in forum Technology & Internet
    Replies: 5
    Last Post: 18-08-2011, 10:04 AM
  3. Add-ons or extension not compatible with Firefox 3.6
    By Shreevats in forum Technology & Internet
    Replies: 4
    Last Post: 26-11-2009, 04:03 PM
  4. How to create batch for RAR file extension
    By Jayden in forum Windows Software
    Replies: 1
    Last Post: 13-04-2009, 11:58 PM
  5. Firefox 2 extension no longer work in firefox 3
    By taher in forum Technology & Internet
    Replies: 1
    Last Post: 09-04-2009, 02:43 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,445,818.18242 seconds with 17 queries