diff --git a/core_js/log.js b/core_js/log.js index 625b6fe..46b214e 100644 --- a/core_js/log.js +++ b/core_js/log.js @@ -27,6 +27,11 @@ function getLog() core(function (ref){ log = ref.getData('log'); + // Sort the log | issue #70 + log.log.sort(function(a,b) { + return b.timestamp - a.timestamp; + }); + var length = Object.keys(log.log).length; var row; if(length != 0) diff --git a/manifest.json b/manifest.json index cf35d79..f3e1ec5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "ClearURLs", - "version": "1.3.3.2", + "version": "1.3.3.3", "author": "Kevin R.", "description": "Remove tracking elements form URLs.", "homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",