Dev : Extensions : Example Code: Difference between revisions
From MozillaZine Knowledge Base
Jump to navigationJump to search
m (rearrange) |
|||
Line 8: | Line 8: | ||
===Commonly used techniques=== | ===Commonly used techniques=== | ||
*[http://xulplanet.com/ XulPlanet] has an [http://www.xulplanet.com/tutorials/xulqa/q_prefs.html article on preferences] | *[http://xulplanet.com/ XulPlanet] has an [http://www.xulplanet.com/tutorials/xulqa/q_prefs.html article on preferences] | ||
* | *How to log debug information to [[JavaScript Console]]. | ||
===XPCOM=== | ===XPCOM=== |
Revision as of 16:19, 24 January 2005
This page is part of the extension development documentation project.
Ask your questions in MozillaZine Forums. Also try browsing example code.
Note: development documentation is in process of being moved to Mozilla Development Center (MDC).
XUL
- Adding items to menus with overlays (talks about browser's context menu too)
- Creating dialog windows with XUL
Javascript
Commonly used techniques
- XulPlanet has an article on preferences
- How to log debug information to JavaScript Console.
XPCOM
- Performing file IO
- Using observers for cross-window notifications
- Running other applications
- Using file choosers (Open, Save, Select Directory dialogs)
Other
Techniques
- Differential Inheritance in JavaScript using __proto__