Index: chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/background.html |
diff --git a/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/background.html b/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/background.html |
index 4e382a6ff14972da14f409f8c2cd9f9b30bfabad..3b12bb31d2147acee03d3ce0b9c43d8dc69a0381 100644 |
--- a/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/background.html |
+++ b/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/background.html |
@@ -1,18 +1,9 @@ |
+<!doctype html> |
<html> |
-<head> |
-<script type="text/javascript"> |
-const tab_log = function(json_args) { |
- var args = JSON.parse(unescape(json_args)); |
- console[args[0]].apply(console, Array.prototype.slice.call(args, 1)); |
-} |
- |
-chrome.extension.onRequest.addListener(function(request) { |
- if (request.command !== 'sendToConsole') |
- return; |
- chrome.tabs.executeScript(request.tabId, { |
- code: "("+ tab_log + ")('" + request.args + "');", |
- }); |
-}); |
-</script> |
-</head> |
+ <head> |
+ <title>Background Page</title> |
+ <script src="./background.js" type="text/javascript"></script> |
+ </head> |
+ <body> |
+ </body> |
</html> |