Version 1.2.2.20

I hope it fixes Bug #60
This commit is contained in:
Kevin Röbert 2018-06-16 21:06:51 +02:00
parent e58acecf7e
commit 06a8665688
3 changed files with 87 additions and 84 deletions

View File

@ -340,8 +340,6 @@ function start(items)
var changes = false; var changes = false;
var cancel = false; var cancel = false;
if(provider.matchURL(url))
{
/* /*
* Expand the url by provider redirections. So no tracking on * Expand the url by provider redirections. So no tracking on
* url redirections form sites to sites. * url redirections form sites to sites.
@ -419,12 +417,8 @@ function start(items)
"url": url, "url": url,
"cancel": cancel "cancel": cancel
}; };
}
else {
return {
"changes": false
};
}
} }
/** /**
@ -467,7 +461,14 @@ function start(items)
* Call for every provider the removeFieldsFormURL method. * Call for every provider the removeFieldsFormURL method.
*/ */
for (var i = 0; i < providers.length; i++) { for (var i = 0; i < providers.length; i++) {
let match = providers[i].matchURL(request.url);
if(match == providers[i].matchURL(request.url));
if(match)
{
result = removeFieldsFormURL(providers[i], request); result = removeFieldsFormURL(providers[i], request);
}
/* /*
* Expand urls and bypass tracking. * Expand urls and bypass tracking.

View File

@ -59,7 +59,9 @@
"je=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "je=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"dcr=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "dcr=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"ie=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "ie=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"sei=[^\\/|\\?|&]*(\\/|&(amp;)?)?" "sei=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"sa=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"dpr=[^\\/|\\?|&]*(\\/|&(amp;)?)?"
], ],
"exceptions": [ "exceptions": [
".*(mail\\.google\\.).*(\\/mail\\/u\\/0)\\/.*", ".*(mail\\.google\\.).*(\\/mail\\/u\\/0)\\/.*",

View File

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