I\'m a bit stuck here and was wondering if anyone can point out where I might be wrong.
I am simply trying to make the body color change to red on click of the app i
If you define default_popup, you can't have a listener for browserAction.onClicked. In this case you can simply add the code in your handler to your popup.js.
default_popup
browserAction.onClicked
popup.js
EDIT: That is, add to popup.js the following:
chrome.tabs.executeScript(null, {code:"document.body.bgColor='red'"});