parent
dbe7c603f9
commit
15daf50c71
|
@ -4,6 +4,15 @@ 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.9] - 2019-07-29
|
||||
|
||||
### Compatibility note
|
||||
- Require Firefox >= 55
|
||||
- Require Chrome >= 22
|
||||
|
||||
### Fixed
|
||||
- Fixed error in fields RegExp
|
||||
|
||||
## [1.6.8] - 2019-07-28
|
||||
|
||||
### Compatibility note
|
||||
|
|
|
@ -120,7 +120,7 @@ function extractFileds(url)
|
|||
fields = fields.replace(new RegExp("#.*", "i"), "");
|
||||
}
|
||||
|
||||
return (fields.match(/[^\/|\?|&]+=?[^\/|\?|&]?/gi) || []);
|
||||
return (fields.match(/[^\/|\?|&]+=?[^|&]*/gi) || []);
|
||||
}
|
||||
|
||||
return [];
|
||||
|
|
|
@ -85,7 +85,8 @@
|
|||
],
|
||||
"redirections": [
|
||||
".*google\\..*\\/.*url\\?.*url=((https|http)[^&]*)",
|
||||
".*google\\..*\\/.*url\\?.*q=((https|http)[^&]*)"
|
||||
".*google\\..*\\/.*url\\?.*q=((https|http)[^&]*)",
|
||||
".*google\\..*\\/.*adurl=([^&]*)"
|
||||
]
|
||||
},
|
||||
"googlesyndication": {
|
||||
|
@ -226,7 +227,7 @@
|
|||
".*(facebook\\.)\\w{2,}.*(\\/dialog\\/share).*"
|
||||
],
|
||||
"redirections": [
|
||||
".*l\\.facebook\\..*\\/.*l\\.php\\?.*u=((https%3A%2F%2F|http%3A%2F%2F)[^&]*)"
|
||||
".*l[a-zA-Z]?\\.facebook\\..*\\/.*l\\.php\\?.*u=((https%3A%2F%2F|http%3A%2F%2F)[^&]*)"
|
||||
]
|
||||
},
|
||||
"twitter": {
|
||||
|
@ -587,6 +588,15 @@
|
|||
],
|
||||
"exceptions": [],
|
||||
"redirections": []
|
||||
},
|
||||
"linksynergy.com": {
|
||||
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(linksynergy\\.com).*",
|
||||
"completeProvider": false,
|
||||
"rules": [],
|
||||
"exceptions": [],
|
||||
"redirections": [
|
||||
".*linksynergy\\.com.*\\/.*murl=([^&]*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "ClearURLs",
|
||||
"version": "1.6.8",
|
||||
"version": "1.6.9",
|
||||
"author": "Kevin R.",
|
||||
"description": "Remove tracking elements from URLs.",
|
||||
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
|
||||
|
|
Loading…
Reference in New Issue
Block a user