Labs/Jetpack/JEP/17: Difference between revisions

Jump to navigation Jump to search
(Created page with '== JEP 17 - Page Mods == * Champion: Aza Raskin <aza at mozilla dot com> * Implementer: ? * Status: Implementing * Type: API Track * Created: 26 May 2009 * Reference Implementat...')
 
Line 25: Line 25:
*'''callback''': A function that modifies the page. It takes one argument, the <code>document<code> object of the page being loaded.
*'''callback''': A function that modifies the page. It takes one argument, the <code>document<code> object of the page being loaded.
*'''options''':
*'''options''':
**'''matches''': A list of regexps.
**'''matches''': An array of [http://dev.chromium.org/developers/design-documents/extensions/match-patterns match patterns] describing which pages the content script should run on.  If any of the match patterns matches a URL, the content script is run.
577

edits

Navigation menu