diff --git a/clearurls.js b/clearurls.js index 904799c..8e2eb7e 100644 --- a/clearurls.js +++ b/clearurls.js @@ -709,24 +709,19 @@ function handleActivated(activeInfo) { browser.tabs.onActivated.addListener(handleActivated); /** -* Handle everything asynchronously. -* @type {Promise} +* Check the request. */ function promise(requestDetails) { - var timeout = 1000; - return new Promise((resolve,reject) => { - window.setTimeout(() => { - if(isDataURL(requestDetails)) - { - resolve({}); - } - else { - var ret = clearUrl(requestDetails); - resolve(ret); - } - },timeout); - }); + if(isDataURL(requestDetails)) + { + return {}; + } + else { + var ret = clearUrl(requestDetails); + return ret; + } + } /** diff --git a/core_js/write_version.js b/core_js/write_version.js index 9331d9c..d0f2307 100644 --- a/core_js/write_version.js +++ b/core_js/write_version.js @@ -2,5 +2,5 @@ * This file writes only the version into every page. * @return version */ -var version = "1.2.1.0"; +var version = "1.2.1.1"; $('#version').text(version); diff --git a/html/popup.html b/html/popup.html index b74383e..119d462 100644 --- a/html/popup.html +++ b/html/popup.html @@ -104,8 +104,10 @@
Rules-Status
- +
+ +

diff --git a/manifest.json b/manifest.json index 598215b..431d8fd 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "ClearURLs", - "version": "1.2.1.0", + "version": "1.2.1.1", "author": "Kevin R.", "description": "Remove tracking elements form URLs.", "homepage_url": "https://github.com/KevinRoebert/ClearUrls",