Avoid Common Pitfalls in Greasemonkey: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
(Undo revision 5599 by 187.114.252.57 (Talk))
No edit summary
Line 5: Line 5:
It covers:
It covers:


* Event Handlers
* Event Handlers حاج علي
* Named Forms and Form Elements
* Named Forms and Form Elements
* Custom Properties
* Custom Properties

Revision as of 19:37, 14 December 2010

Mark Pilgrim's article, Avoid Common Pitfalls in Greasemonkey, is an indispensable reference for Greasemonkey script authors. It describes ten different "pitfalls" that many script authors fall into, both things that those already familiar with Javascript might expect to work (but do not) and other changes/limitations of the Greasemonkey script environment. Readers will note the common theme of XPCNativeWrappers and their limitations.

It covers:

  • Event Handlers حاج علي
  • Named Forms and Form Elements
  • Custom Properties
  • Iterating Collections
  • scrollIntoView
  • location
  • Calling Remote Page Scripts
  • watch
  • style

You may read: