Trying to write my first very simple chrome extension: it should write to console some message. Here is my code:
manifest.json
{
"manifest_version": 2,
"name" : "Hello world",
"version" : "1.0",
"description" : "This is a simple chrome extention",
"background": "background.html"
}
background.html
<script type="text/javascript">
window.onload = function() {
window.setInterval( function() {
console.log("Hello world");
}, 10000);
}
</script>
But it logs nothing into chrome console. What's wrong here?