Index: chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js |
diff --git a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js |
deleted file mode 100644 |
index db1f3b3456adadde033169eabe9048b38d16d16c..0000000000000000000000000000000000000000 |
--- a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js |
+++ /dev/null |
@@ -1,12 +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/gi; |
-matches = document.body.innerText.match(regex); |
-if (matches) { |
- var payload = { |
- count: matches.length // Pass the number of matches back. |
- }; |
- chrome.extension.sendRequest(payload, function(response) {}); |
-} |