diff --git a/manifest.json b/manifest.json index 15b5d65..f6f2df6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_appName__", - "version": "1.2.3", + "version": "1.2.4", "homepage_url": "https://github.com/andreicristianpetcu/google_translate_this", "manifest_version": 2, "description": "__MSG_appDescription__", diff --git a/scripts/background.js b/scripts/background.js index a594a8f..3bdddef 100644 --- a/scripts/background.js +++ b/scripts/background.js @@ -46,13 +46,13 @@ browser.contextMenus.create({ }); browser.pageAction.onClicked.addListener(translateCurrentPage); -//browser.tabs.query({}).then((tabs) => { -// var tab; -// for (tab of tabs) { -// showPageActionOnTab(tab); -// } -//}); -// -//browser.tabs.onUpdated.addListener((id, changeInfo, tab) => { -// showPageActionOnTab(tab); -//}); +browser.tabs.query({}).then((tabs) => { + var tab; + for (tab of tabs) { + showPageActionOnTab(tab); + } +}); + +browser.tabs.onUpdated.addListener((id, changeInfo, tab) => { + showPageActionOnTab(tab); +}); diff --git a/updates.json b/updates.json index eb121a6..8f1ebe7 100644 --- a/updates.json +++ b/updates.json @@ -13,7 +13,9 @@ { "version": "1.2.2", "update_link": "https://github.com/andreicristianpetcu/google_translate_this/releases/download/v1.2.2/google_translate_this_page-1.2.2-an.fx.xpi" }, { "version": "1.2.3", - "update_link": "https://github.com/andreicristianpetcu/google_translate_this/releases/download/v1.2.3/google_translate_this_page-1.2.3-an.fx.xpi" } + "update_link": "https://github.com/andreicristianpetcu/google_translate_this/releases/download/v1.2.3/google_translate_this_page-1.2.3-an.fx.xpi" }, + { "version": "1.2.4", + "update_link": "https://github.com/andreicristianpetcu/google_translate_this/releases/download/v1.2.4/google_translate_this_page-1.2.4-an.fx.xpi" } ] } }