firefox extension development
I am new to fi开发者_开发百科refox extension development. Can somebody kindly tell me the languages which i should know and the tool which are required to be installed on my Windows machine.
It would be really helpful for me if you can refer me some good tutorial links.
Since Firefox 4 you have the "choice of weapon": Traditionally, extensions are written in Javascript and embedded in XUL. The new way still uses Javascript, but embeds the addon in classic HTML+CSS.
For XUL, there are good documents at the Mozilla Developer Network (start here). The newer techique is called Jetpack, website, and offers a Python-based SDK (zip file).
I am using this a bit old but still perfect solution;
Download Eclipse (I am using Helios - Eclipse IDE for Java EE Developers) http://www.eclipse.org/downloads/packages/release/helios/sr2
Install WTP : Help > Install new software > work with: The Eclipse
Web Tools Platform (WTP) software repository -
http://download.eclipse.org/webtools/repository/heliosDownload XulBooster: http://sourceforge.net/projects/xulbooster/ (Yes a bit old but still works perfect)
File > New > Other > Xul >Extension Project etc.This creates a simple .xpi for you.
Dont forget adjust min and max version of firefox from install.rdf dependencies tab. From overview tab you can export your project by clicking "using the export wizard" link.
Sorry that is not detailed but you can figure it out easliy.
精彩评论