Given a Chrome extension that sets up a browser_action
based on a default_icon
click, how can that extension print to the console? For example, say my manifest.json
includes this:
{
"name": "Testing",
"version": "1.0",
"browser_action": {
"default_popup": "testing.html",
"default_icon": "icon.png"
},
"manifest_version": 2
}
and my testing.html
loads a <script>
with some Javascript:
console.log("WHY DON'T I SEE THIS??");
Why doesn't this print anything to the console? And how might I go about getting something printed to the console?