I\'m writing a Chrome extension that will redirect me to a URL when clicking on the browser action icon.
I\'m trying to use:
chrome.browserAction.onC
Please notice that you can heave only one of app, browser_action, page_actions present in your manifest.json file.
app
browser_action
page_actions
For example, to use the chrome.browserAction.setBadgeText you should have the browser_action field in your manifest.json.