diff --git a/manifest.json b/manifest.json index 110cb64..825417c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "PopTab", - "description": "This extension lets you pop the current tab into a popup.", + "description": "Pop the current tab into a popup or panel.", "version": "1.0", "manifest_version": 2, "background": { @@ -8,8 +8,12 @@ "scripts": ["poptab.js"] }, "browser_action": { - "default_title": "PopTab", - "default_icon": "icon.png" + "default_title": "Pop tab", + "default_icon": "tab.24.png" + }, + "icons": { + "24": "tab.24.png", + "246": "tab.png" }, "permissions": ["activeTab","tabs"] } diff --git a/poptab.js b/poptab.js index 3179dbe..7f9069f 100644 --- a/poptab.js +++ b/poptab.js @@ -1,4 +1,4 @@ -chrome.browserAction.onClicked.addListener(function(tab) { +chrome.browserAction.onClicked.addListener(function(tab){ chrome.windows.create({ url: tab.url, type: 'popup' diff --git a/tab.24.png b/tab.24.png new file mode 100644 index 0000000..da9fb28 Binary files /dev/null and b/tab.24.png differ diff --git a/tab.png b/tab.png new file mode 100644 index 0000000..8e08e63 Binary files /dev/null and b/tab.png differ