

- WHAT LANGUAGE ARE MOZILLA FIREFOX EXTENSIONS WRITTEN IN HOW TO
- WHAT LANGUAGE ARE MOZILLA FIREFOX EXTENSIONS WRITTEN IN INSTALL
- WHAT LANGUAGE ARE MOZILLA FIREFOX EXTENSIONS WRITTEN IN DOWNLOAD
This package is used to contain the main XUL and JavaScript source files. Three kinds of packages make up chrome The content package Extensions also can be considered XUL applications with chrome. For example, in the Firefox browser window, everything other than the web page being displayed in the content area is chrome. “ Chrome”is the word used to describe all the GUI structural elements that go into an XUL application. Let’s delve into chrome, something you’ll need to know about in order to develop extensions. You may also find this extension to be valuable: Extension Developer Developing extensions: What you need to know
WHAT LANGUAGE ARE MOZILLA FIREFOX EXTENSIONS WRITTEN IN DOWNLOAD
You can learn more about Chromebug and download it at You can use it to help debug Firefox extensions as well as to inspect and learn how the Firefox UI (Chrome) is constructed.
WHAT LANGUAGE ARE MOZILLA FIREFOX EXTENSIONS WRITTEN IN INSTALL
Optional - Install Firebug and ChromebugĬhromebug is used by the Firebug development team to develop Firebug. Install extensions for Firefox from the Mozilla Add-ons website. This is not required for developing extensions, but it is handy to have around. The DOM Inspector is an extension that lets you examine HTML and XUL DOM tree structures, JavaScript objects and CSS properties, etc. Some of these preferences do not exist-to create them, right-click, select “New>Boolean”, and type in the name and set the value accordingly. To make these changes, start your development profile, type about:config into Firefox’s location bar and open the preferences window find the preferences listed in Table 1 and double-click on them to set them accordingly. Table 1: Preferences to set for developing extensions (present in Firefox 3.5+)Įnforces strict error output from JavaScript Outputs JavaScript errors to the error console. Refer to the “JavaScript debugging methods” sidebar. Disabling this cache forces XUL documents to be reloaded any every time they are displayed.ī.enabled (not present in Firefox 3.5+)Įnables use of the dump method for debugging. Ordinarily, Firefox will cache XUL documents after they have been read in once, to speed subsequent displays. This isn’t a requirement for extension development, but I recommend it as a way to work more efficiently. Change your preferences for more efficient developmentīefore you get to work developing your extension, you’ll want to change some of your Firefox preferences. On the first start the Profile Manager will appear, where you can create the dev profile and configure its home-path. To create this dev profile start Firefox with firefox.exe -no-remote -P dev If you want to partition your everyday browsing environment from your development environment in Firefox, set up a second profile for development.

WHAT LANGUAGE ARE MOZILLA FIREFOX EXTENSIONS WRITTEN IN HOW TO
In the following you will find a brief description how to do so a more detailed one can be found under Setting up an extension development environment. In order to develop (and test) extensions in a most convenient way it is recommended to apply some changes to Firefox. is to use Netbeans (IDE from Sun Microsystems) and Foxbeans (Plugin for Netbeans, by TeeSoft). In this chapter, we’ll discuss how to put them together to actually build an extension.Īn easier method of building a Firefox/Thunderbird Addon for developers who are well-acquainted with IDEs like Netbeans, Eclipse, etc. The chapters so far have each focused on technologies in isolation-XUL, JavaScript, CSS, and XPCOM.

Gomita-san won "Most Useful Upgraded Extension" award in Mozilla's 2006 "Extend Firefox" competition for ScrapBook, and was runner-up in the "Extend Firefox 2" contest for FireGestures. This document was authored by Taiga (Gomita) Gomibuchi and was originally published in Japanese for the Firefox Developers Conference Summer 2007.
