Dev : Extensions : Example Code: Difference between revisions
From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→XUL: link to the redirected page) |
(→Other) |
||
Line 26: | Line 26: | ||
*[[Dev : Extensions : Example Code : Using XMLHttpRequest | Using XMLHttpRequest]] | *[[Dev : Extensions : Example Code : Using XMLHttpRequest | Using XMLHttpRequest]] | ||
*[[Dev : Extensions : Example Code : Inserting text at cursor | Inserting text at cursor]] | *[[Dev : Extensions : Example Code : Inserting text at cursor | Inserting text at cursor]] | ||
*[[Dev : Extensions : Example Code : Creating a XUL mailto: link | Creating a XUL mailto: link]] | |||
===Techniques=== | ===Techniques=== |
Revision as of 21:18, 25 February 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
- Creating toolbar buttons
- Adding items to menus with overlays (talks about browser's context menu too)
- Creating dialog windows with XUL
Javascript
Commonly used techniques
- Using preferences. For the basics, see also the article on XulPlanet.
- 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
- Opening a new browser window
- Using XMLHttpRequest
- Inserting text at cursor
- Creating a XUL mailto: link
Techniques
- Differential Inheritance in JavaScript using __proto__