| Index: chrome/common/extensions/docs/templates/articles/messaging.html
|
| diff --git a/chrome/common/extensions/docs/templates/articles/messaging.html b/chrome/common/extensions/docs/templates/articles/messaging.html
|
| index 9aa7b667282252d695225ef2dd1319977db466f4..aae1ac512f4f1f1d969ee984247d6a8721d75360 100644
|
| --- a/chrome/common/extensions/docs/templates/articles/messaging.html
|
| +++ b/chrome/common/extensions/docs/templates/articles/messaging.html
|
| @@ -47,7 +47,7 @@ chrome.runtime.sendMessage({greeting: "hello"}, function(response) {
|
| Sending a request from the extension to a content script looks very similar,
|
| except that you need to specify which tab to send it to. This example
|
| demonstrates sending a message to the content script in the selected tab.
|
| -<pre data-filename="background.html">
|
| +<pre data-filename="background">
|
| chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
|
| chrome.tabs.sendMessage(tabs[0].id, {greeting: "hello"}, function(response) {
|
| console.log(response.farewell);
|
| @@ -458,5 +458,5 @@ in which a content script and its parent extension exchange messages,
|
| so that the parent extension can perform
|
| cross-site requests on behalf of the content script.
|
| For more examples and for help in viewing the source code, see
|
| -<a href="samples.html">Samples</a>.
|
| +<a href="samples">Samples</a>.
|
| </p>
|
|
|