Chromium Code Reviews| Index: chrome/common/extensions/docs/static/contextMenus.html |
| diff --git a/chrome/common/extensions/docs/static/contextMenus.html b/chrome/common/extensions/docs/static/contextMenus.html |
| index 26af21fee830d886b7e224d7bceecf687997371e..7f903c6b423d01458c1712016975d05d2ffe3ce4 100644 |
| --- a/chrome/common/extensions/docs/static/contextMenus.html |
| +++ b/chrome/common/extensions/docs/static/contextMenus.html |
| @@ -20,6 +20,9 @@ Google Chrome automatically collapses them |
| into a single parent menu. |
| </p> |
| +<p>When we originally released the contextMenus API out of |
| +experimental, we limited items to only appear on documents (or frames within documents) whose url had a scheme of http/https. We've recently removed that restriction, so your items can appear on any document such as file:// urls, etc. If you'd like to control which pages your items appear on, see the targetUrlPatterns parameter to the create and update methods.</p> |
|
kathyw
2011/07/12 22:17:54
We can tighten this up a bit, plus add line breaks
asargent_no_longer_on_chrome
2011/07/14 17:33:30
> * Should targetUrlPatterns be documentUrlPattern
|
| + |
| <h2 id="manifest">Manifest</h2> |
| <p>You must declare the "contextMenus" permission |
| in your extension's manifest to use the API. |