单击扩展按钮而不是打开弹出窗口时,是否可以在当前选项卡中打开网站?
这是我已经尝试过的:
{
"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/"
]
}