Update 6.1
Cette révision appartient à :
Parent
e2fed0aac7
révision
c6a25e7312
3 fichiers modifiés avec 3 ajouts et 4 suppressions
|
@ -29,6 +29,8 @@ Hit back and try another one!
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
* Version 6.1
|
||||||
|
* Revived context menu (PR #13 from DenB10)
|
||||||
* Version 6
|
* Version 6
|
||||||
* Merged with latest version from Arrantius
|
* Merged with latest version from Arrantius
|
||||||
* Add "list all versions" for The Internet Archive.
|
* Add "list all versions" for The Internet Archive.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "__MSG_extensionName__",
|
"name": "__MSG_extensionName__",
|
||||||
"short_name": "__MSG_extensionName__",
|
"short_name": "__MSG_extensionName__",
|
||||||
"description": "__MSG_extensionDescription__",
|
"description": "__MSG_extensionDescription__",
|
||||||
"version": "6",
|
"version": "6.1",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"homepage_url": "https://github.com/Albirew/resurrect-pages",
|
"homepage_url": "https://github.com/Albirew/resurrect-pages",
|
||||||
|
|
||||||
|
|
3
popup.js
3
popup.js
|
@ -4,14 +4,12 @@ chrome.storage.local.get('openIn', res => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
document.querySelectorAll('*[data-locale]').forEach(el => {
|
document.querySelectorAll('*[data-locale]').forEach(el => {
|
||||||
el.appendChild(document.createTextNode(
|
el.appendChild(document.createTextNode(
|
||||||
' ' + chrome.i18n.getMessage(el.getAttribute('data-locale'))
|
' ' + chrome.i18n.getMessage(el.getAttribute('data-locale'))
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
function onOpenInChange() {
|
function onOpenInChange() {
|
||||||
setOpenIn(document.querySelector('input[name="openIn"]:checked').value);
|
setOpenIn(document.querySelector('input[name="openIn"]:checked').value);
|
||||||
};
|
};
|
||||||
|
@ -19,7 +17,6 @@ document.querySelectorAll('input[type=radio]').forEach(el => {
|
||||||
el.addEventListener('click', onOpenInChange, true);
|
el.addEventListener('click', onOpenInChange, true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
function resurrect(gen) {
|
function resurrect(gen) {
|
||||||
return function() {
|
return function() {
|
||||||
chrome.tabs.query({active: true, currentWindow: true}, tabObj => {
|
chrome.tabs.query({active: true, currentWindow: true}, tabObj => {
|
||||||
|
|
Chargement…
Référencer dans un nouveau ticket