94
edits
m (Update link to be the current page for match_patterns) |
|||
| 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''': An array of [http:// | **'''matches''': An array of [http://code.google.com/chrome/extensions/match_patterns.html 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. | ||
==== Examples ==== | ==== Examples ==== | ||
edits