Version 1.6.7

#175
#196
#204
This commit is contained in:
Kevin Röbert 2019-07-25 23:55:01 +02:00
parent a3d3818766
commit 53de1eae53
4 changed files with 27 additions and 24 deletions

View File

@ -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/), 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). 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 ## [1.6.6] - 2019-06-14
### Compatibility note ### Compatibility note

View File

@ -29,7 +29,6 @@ var dataHash;
var localDataHash; var localDataHash;
var os; var os;
var currentURL; var currentURL;
var lastVisited = "";
/** /**
* Helper function which remove the tracking fields * Helper function which remove the tracking fields
@ -515,11 +514,6 @@ function start()
increaseGlobalURLCounter(URLbeforeReplaceCount); increaseGlobalURLCounter(URLbeforeReplaceCount);
if(storage.globalStatus){ if(storage.globalStatus){
// The URL is already cleaned
if(lastVisited === request.url) {
return {};
}
var result = { var result = {
"changes": false, "changes": false,
"url": "", "url": "",
@ -562,8 +556,6 @@ function start()
* a loop. * a loop.
*/ */
if(result.changes){ if(result.changes){
lastVisited = result.url;
return { return {
redirectUrl: result.url redirectUrl: result.url
}; };

View File

@ -443,7 +443,7 @@
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(steampowered\\.com).*", "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(steampowered\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"snr=[^\\/|\\?|&]*(\\/|&(amp;)?)?" "snr"
], ],
"exceptions": [], "exceptions": [],
"redirections": [] "redirections": []
@ -467,16 +467,16 @@
] ]
}, },
"mozaws.net": { "mozaws.net": {
"urlPattern": "https?://outgoing\\.prod\\.mozaws\\.net/.*", "urlPattern": "https?:\\/\\/outgoing\\.prod\\.mozaws\\.net/.*",
"completeProvider": false, "completeProvider": false,
"rules": [], "rules": [],
"exceptions": [], "exceptions": [],
"redirections": [ "redirections": [
"https?://[^/]+/v1/[0-9a-f]{64}/(.*)" "https?:\\/\\/[^/]+/v1/[0-9a-f]{64}/(.*)"
] ]
}, },
"shutterstock.com": { "shutterstock.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(shutterstock\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(shutterstock\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"src" "src"
@ -485,7 +485,7 @@
"redirections": [] "redirections": []
}, },
"mozilla.org": { "mozilla.org": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(mozilla\\.org).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(mozilla\\.org).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"src", "src",
@ -495,7 +495,7 @@
"redirections": [] "redirections": []
}, },
"readdc.com": { "readdc.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(readdc\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(readdc\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"ref" "ref"
@ -504,7 +504,7 @@
"redirections": [] "redirections": []
}, },
"dailycodingproblem.com": { "dailycodingproblem.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(dailycodingproblem\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(dailycodingproblem\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"email" "email"
@ -513,7 +513,7 @@
"redirections": [] "redirections": []
}, },
"github.com": { "github.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(github\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(github\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"email_token", "email_token",
@ -523,7 +523,7 @@
"redirections": [] "redirections": []
}, },
"deviantart.com": { "deviantart.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(deviantart\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(deviantart\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [], "rules": [],
"exceptions": [], "exceptions": [],
@ -532,7 +532,7 @@
] ]
}, },
"site2.com": { "site2.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(site2\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site2\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [], "rules": [],
"exceptions": [], "exceptions": [],
@ -541,7 +541,7 @@
] ]
}, },
"site.com": { "site.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(site\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [], "rules": [],
"exceptions": [], "exceptions": [],
@ -550,7 +550,7 @@
] ]
}, },
"site3.com": { "site3.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(site3\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site3\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [], "rules": [],
"exceptions": [], "exceptions": [],
@ -559,7 +559,7 @@
] ]
}, },
"aliexpress.com": { "aliexpress.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(aliexpress\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(aliexpress\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"ws_ab_test", "ws_ab_test",
@ -571,7 +571,7 @@
"redirections": [] "redirections": []
}, },
"mozillazine.org": { "mozillazine.org": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(mozillazine\\.org).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(mozillazine\\.org).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"sid" "sid"
@ -580,7 +580,7 @@
"redirections": [] "redirections": []
}, },
"9gag.com": { "9gag.com": {
"urlPattern": "https?://([a-zA-Z0-9-]*\\.)?(9gag\\.com).*", "urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(9gag\\.com).*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"ref" "ref"

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "ClearURLs", "name": "ClearURLs",
"version": "1.6.6", "version": "1.6.7",
"author": "Kevin R.", "author": "Kevin R.",
"description": "Remove tracking elements from URLs.", "description": "Remove tracking elements from URLs.",
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls", "homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",