diff --git a/CHANGELOG.md b/CHANGELOG.md index 2755eb1..c8505fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/core_js/tools.js b/core_js/tools.js index 2bf2fae..dac0735 100644 --- a/core_js/tools.js +++ b/core_js/tools.js @@ -120,7 +120,7 @@ function extractFileds(url) fields = fields.replace(new RegExp("#.*", "i"), ""); } - return (fields.match(/[^\/|\?|&]+=?[^\/|\?|&]?/gi) || []); + return (fields.match(/[^\/|\?|&]+=?[^|&]*/gi) || []); } return []; diff --git a/data/data.min.json b/data/data.min.json index 7cf59b3..0f76823 100644 --- a/data/data.min.json +++ b/data/data.min.json @@ -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=([^&]*)" + ] } } } diff --git a/manifest.json b/manifest.json index 4ac7cd6..bccd7f0 100644 --- a/manifest.json +++ b/manifest.json @@ -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",