canmove, Confirmed users
737
edits
(lots more updates) |
(added some links) |
||
| Line 52: | Line 52: | ||
* The first three keys are mandatory basic metadata. | * The first three keys are mandatory basic metadata. | ||
* The next key, <code>"applications"</code>, contains Firefox-specific information. | * The next key, <code>"applications"</code>, contains Firefox-specific information. | ||
* The next key, <code>"content_scripts"</code>, specifies a match-pattern and a content script. In this case the pattern matches any pages under <code>mozilla.org</code>, or any of its subdomains. The content script is <code>"borderify.js"</code>. | * The next key, <code>"content_scripts"</code>, specifies a [https://developer.chrome.com/extensions/match_patterns match-pattern] and a [https://developer.chrome.com/extensions/content_scripts content script] to run in matching pages. In this case the pattern matches any pages under <code>mozilla.org</code>, or any of its subdomains. The content script is <code>"borderify.js"</code>. | ||
The other file is <code>borderify.js</code> itself, which just draws a red border around the document body: | The other file is <code>borderify.js</code> itself, which just draws a red border around the document body: | ||