Is it possible to open a website in the current tab when an extension button is clicked instead of open a popup?
This is what I've already try:
{
"manifest_version": 2,
"name": "Getting started example",
"description": "This extension shows a Google Image search result for the current page",
"version": "1.0",
"browser_action": {
"default_icon": "icon.png",
"default_url": "http.//site.com/"
},
"permissions": [
"activeTab",
"https://ajax.googleapis.com/"
]
}