diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b20179..7951e59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.6.7] - 2019-07-25 + +### Compatibility note +- Require Firefox >= 55 +- Require Chrome >= 22 + +### Fixed +- [#175](https://gitlab.com/KevinRoebert/ClearUrls/issues/175) by [@yukulele](https://gitlab.com/yukulele) +- [#196](https://gitlab.com/KevinRoebert/ClearUrls/issues/196) +- [#204](https://gitlab.com/KevinRoebert/ClearUrls/issues/204) + ## [1.6.6] - 2019-06-14 ### Compatibility note diff --git a/clearurls.js b/clearurls.js index 3c89f9c..771ad31 100644 --- a/clearurls.js +++ b/clearurls.js @@ -29,7 +29,6 @@ var dataHash; var localDataHash; var os; var currentURL; -var lastVisited = ""; /** * Helper function which remove the tracking fields @@ -515,11 +514,6 @@ function start() increaseGlobalURLCounter(URLbeforeReplaceCount); if(storage.globalStatus){ - // The URL is already cleaned - if(lastVisited === request.url) { - return {}; - } - var result = { "changes": false, "url": "", @@ -562,8 +556,6 @@ function start() * a loop. */ if(result.changes){ - lastVisited = result.url; - return { redirectUrl: result.url }; diff --git a/data/data.min.json b/data/data.min.json index e155e77..7cf59b3 100644 --- a/data/data.min.json +++ b/data/data.min.json @@ -443,7 +443,7 @@ "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(steampowered\\.com).*", "completeProvider": false, "rules": [ - "snr=[^\\/|\\?|&]*(\\/|&(amp;)?)?" + "snr" ], "exceptions": [], "redirections": [] @@ -467,16 +467,16 @@ ] }, "mozaws.net": { - "urlPattern": "https?://outgoing\\.prod\\.mozaws\\.net/.*", + "urlPattern": "https?:\\/\\/outgoing\\.prod\\.mozaws\\.net/.*", "completeProvider": false, "rules": [], "exceptions": [], "redirections": [ - "https?://[^/]+/v1/[0-9a-f]{64}/(.*)" + "https?:\\/\\/[^/]+/v1/[0-9a-f]{64}/(.*)" ] }, "shutterstock.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(shutterstock\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(shutterstock\\.com).*", "completeProvider": false, "rules": [ "src" @@ -485,7 +485,7 @@ "redirections": [] }, "mozilla.org": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(mozilla\\.org).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(mozilla\\.org).*", "completeProvider": false, "rules": [ "src", @@ -495,7 +495,7 @@ "redirections": [] }, "readdc.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(readdc\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(readdc\\.com).*", "completeProvider": false, "rules": [ "ref" @@ -504,7 +504,7 @@ "redirections": [] }, "dailycodingproblem.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(dailycodingproblem\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(dailycodingproblem\\.com).*", "completeProvider": false, "rules": [ "email" @@ -513,7 +513,7 @@ "redirections": [] }, "github.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(github\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(github\\.com).*", "completeProvider": false, "rules": [ "email_token", @@ -523,7 +523,7 @@ "redirections": [] }, "deviantart.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(deviantart\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(deviantart\\.com).*", "completeProvider": false, "rules": [], "exceptions": [], @@ -532,7 +532,7 @@ ] }, "site2.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(site2\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site2\\.com).*", "completeProvider": false, "rules": [], "exceptions": [], @@ -541,7 +541,7 @@ ] }, "site.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(site\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site\\.com).*", "completeProvider": false, "rules": [], "exceptions": [], @@ -550,7 +550,7 @@ ] }, "site3.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(site3\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site3\\.com).*", "completeProvider": false, "rules": [], "exceptions": [], @@ -559,7 +559,7 @@ ] }, "aliexpress.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(aliexpress\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(aliexpress\\.com).*", "completeProvider": false, "rules": [ "ws_ab_test", @@ -571,7 +571,7 @@ "redirections": [] }, "mozillazine.org": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(mozillazine\\.org).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(mozillazine\\.org).*", "completeProvider": false, "rules": [ "sid" @@ -580,7 +580,7 @@ "redirections": [] }, "9gag.com": { - "urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(9gag\\.com).*", + "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(9gag\\.com).*", "completeProvider": false, "rules": [ "ref" diff --git a/manifest.json b/manifest.json index 0058d3f..28f2dc3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "ClearURLs", - "version": "1.6.6", + "version": "1.6.7", "author": "Kevin R.", "description": "Remove tracking elements from URLs.", "homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",