Dev : Extensions : Example Code: Difference between revisions
From MozillaZine Knowledge Base
Jump to navigationJump to search
(adding new example: opening a new browser window) |
(adding page on using XMLHttpRequest) |
||
Line 22: | Line 22: | ||
===Other=== | ===Other=== | ||
*[[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 : Using XMLHttpRequest | Using XMLHttpRequest]] | |||
===Techniques=== | ===Techniques=== | ||
* [[Differential Inheritance]] in JavaScript using <tt>__proto__</tt> | * [[Differential Inheritance]] in JavaScript using <tt>__proto__</tt> |
Revision as of 20:54, 1 December 2004
XUL
Javascript
Commonly used techniques
- XulPlanet has an article on preferences
- Printing debug information to JavaScript Console
XPCOM
- 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__