diff --git a/core/main.js b/core/main.js index a14f3a9a..5d636760 100644 --- a/core/main.js +++ b/core/main.js @@ -81,13 +81,10 @@ main._showReleaseNotes = function (details) { [Setting.LAST_MAPPING_UPDATE]: lastMappingUpdate }, function() { if (!items.hideReleaseNotes) { - // ******************************************************************************** - // TODO: Change me in v2.4.1 - // chrome.tabs.create({ - // 'url': chrome.extension.getURL('pages/updates/updates.html?mappingupdate=' + mappingUpdate), - // 'active': false - // }); - // ******************************************************************************** + chrome.tabs.create({ + 'url': chrome.extension.getURL('pages/updates/updates.html?mappingupdate=' + mappingUpdate), + 'active': false + }); } }); } else { diff --git a/core/migrate.js b/core/migrate.js deleted file mode 100644 index e1aa4170..00000000 --- a/core/migrate.js +++ /dev/null @@ -1,25 +0,0 @@ -// ******************************************************************************** -// TODO: Remove me in v2.4.1 -chrome.runtime.onInstalled.addListener(function(details) { - if (details.reason === chrome.runtime.OnInstalledReason.UPDATE) { - chrome.storage.sync.get(null, function(items) { - // Workaround for https://codeberg.org/nobody/LocalCDN/issues/102 - setTimeout(function() { - chrome.storage.local.set(items, function() { - chrome.runtime.reload(); - }); - }, 5000); - }); - } -}); - -chrome.storage.local.get('extensionReloaded', function(items) { - if (!('extensionReloaded' in items)) { - chrome.tabs.create({ - 'url': chrome.extension.getURL('pages/updates/updates.html?mappingupdate=true'), - 'active': false - }); - chrome.storage.local.set({'extensionReloaded': true}); - } -}); -// ******************************************************************************** diff --git a/manifest.json b/manifest.json index c6d337d0..be98f176 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "LocalCDN", - "version": "2.4.0", + "version": "2.4.1", "browser_specific_settings": { "gecko": { "id": "{b86e4813-687a-43e6-ab65-0bde4ab75758}", diff --git a/pages/background/background.html b/pages/background/background.html index 11360710..34c80698 100644 --- a/pages/background/background.html +++ b/pages/background/background.html @@ -5,12 +5,6 @@ - - - - diff --git a/pages/updates/updates.html b/pages/updates/updates.html index b7678f31..2bf123ca 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -18,17 +18,6 @@
- -
-

Please notice

-

1.) Do you use Firefox/Chromium Sync or your own sync server?

-

In LocalCDN v2.4.0 the default storage type has been changed from sync to local. If you want to change this, you can do this in the settings. Please recognize that not all data are synced. More information can be found in the FAQs

-

2.) Extension settings

-

Your extension settings should be automatically transferred from sync to local, but in some cases the migration may fail. If you want, you can your extension settings to a file and import them on the options page.

-
-

Release notes

@@ -36,30 +25,7 @@ New in LocalCDN:
@@ -91,6 +57,33 @@
+ Previous Versions