Dev : Extensions : Example Code: Difference between revisions
From MozillaZine Knowledge Base
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
===XPCOM=== | ===XPCOM=== | ||
*[[Dev : Extensions : Example Code : File IO | | *[[Dev : Extensions : Example Code : File IO | Performing file IO]] | ||
*[[Dev : Extensions : Example Code : Using observers | Using observers for cross-window notifications | *[[Dev : Extensions : Example Code : Using observers | Using observers]] for cross-window notifications | ||
*[[Dev : Extensions : Example Code : Run programs | | *[[Dev : Extensions : Example Code : Run programs | Running other applications]] | ||
*[[Dev : nsIFilePicker | | *[[Dev : nsIFilePicker | Using file choosers]] (Open, Save, Select Directory dialogs) | ||
===<browser> related=== | ===<browser> related=== |
Revision as of 12:33, 31 December 2004
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)
- Dialogs in Mozilla
Javascript
Commonly used techniques
- XulPlanet has an article on preferences
- Printing 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)
- Using progress listeners
- Executing your code each time a page loads
- Enumerating tabbrowser tabs
- Opening a new browser window
Other
Techniques
- Differential Inheritance in JavaScript using __proto__