Making simple extension. But can't force to work this Event.
manifest File:
{
"manifest_version": 2,
"name": "Extantion",
"version": "0.1",
"content_scripts":[
{
"matches": ["http://foo.bar/*"],
"js": ["js/jq.js","js/injection.js"]
}
]
};
contentScript File:
chrome.pageAction.onClicked.addListener(function() {
console.log("Hello World");
});