From c6a25e7312371604f14ca1ec0b66468e53caf2c4 Mon Sep 17 00:00:00 2001 From: Albirew Date: Fri, 4 May 2018 16:37:58 +0200 Subject: [PATCH] Update 6.1 --- README.md | 2 ++ manifest.json | 2 +- popup.js | 3 --- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f10c65c..3426667 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Hit back and try another one! # Changelog + * Version 6.1 + * Revived context menu (PR #13 from DenB10) * Version 6 * Merged with latest version from Arrantius * Add "list all versions" for The Internet Archive. diff --git a/manifest.json b/manifest.json index 36e1cba..f1b80a7 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "__MSG_extensionName__", "short_name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", - "version": "6", + "version": "6.1", "default_locale": "en", "homepage_url": "https://github.com/Albirew/resurrect-pages", diff --git a/popup.js b/popup.js index f3aec75..a67698e 100644 --- a/popup.js +++ b/popup.js @@ -4,14 +4,12 @@ chrome.storage.local.get('openIn', res => { }); }); - document.querySelectorAll('*[data-locale]').forEach(el => { el.appendChild(document.createTextNode( ' ' + chrome.i18n.getMessage(el.getAttribute('data-locale')) )); }); - function onOpenInChange() { setOpenIn(document.querySelector('input[name="openIn"]:checked').value); }; @@ -19,7 +17,6 @@ document.querySelectorAll('input[type=radio]').forEach(el => { el.addEventListener('click', onOpenInChange, true); }); - function resurrect(gen) { return function() { chrome.tabs.query({active: true, currentWindow: true}, tabObj => {