Kango Extension Frameworkを使用してブラウザ拡張機能を開発しています
Content-scripts を使用して、以下に示すようなコードをページに挿入しました
<span onmouseover= "hello('testing_name')" style='width:17%;padding: 3px; background-color: red; color: white; />
同じ content-script のみに hello(str) 関数定義があります。
以下のようなものです
function hello(test_name)
{
alert(test_name);
}
しかし、スパン要素にマウスオーバーしようとすると、
ReferenceError: hello is not defined
エラーが発生します。
ここで私が間違っていること