| Index: chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/contentscript.js
|
| diff --git a/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/contentscript.js b/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/contentscript.js
|
| deleted file mode 100644
|
| index 91037bb52240bce5d4c6a81b87ba4336cd1a96b2..0000000000000000000000000000000000000000
|
| --- a/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/contentscript.js
|
| +++ /dev/null
|
| @@ -1,14 +0,0 @@
|
| -/*
|
| - * Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
|
| - * source code is governed by a BSD-style license that can be found in the
|
| - * LICENSE file.
|
| - */
|
| -var regex = /sandwich/;
|
| -
|
| -// Test the text of the body element against our regular expression.
|
| -if (regex.test(document.body.innerText)) {
|
| - // The regular expression produced a match, so notify the background page.
|
| - chrome.extension.sendRequest({}, function(response) {});
|
| -} else {
|
| - // No match was found.
|
| -}
|
|
|