だから、私は基本的な Google Chrome Hello World の種類の拡張機能を実行しようとしています。以下のコードが機能しない理由を誰か説明してもらえますか? ありがとう。
popup.js:
document.getElementById("foobar").innerHTML = "Hello Chrome Extensions";
popup.html:
<!doctype html>
<html>
<head>
<title>Hello Chrome</title>
<script src="popup.js"></script>
<div id="foobar"></div>
</head>
<body>
</body>
</html>
http://developer.chrome.com/extensions/getstarted.htmlの「フレームワーク」に従っています。