Version 1.7.1

#217
#218
#220
#221
This commit is contained in:
Kevin Röbert 2019-08-04 19:48:26 +02:00
parent f4ad457047
commit b75235f306
4 changed files with 656 additions and 539 deletions

View File

@ -4,6 +4,21 @@ 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.7.1] - 2019-08-04
### Compatibility note
- Require Firefox >= 55
- Require Chrome >= 22
### Added
- Added new setting to data.min.json to set if redirects should be enforced via a "tabs.update" ([#221](https://gitlab.com/KevinRoebert/ClearUrls/issues/221))
- Added [#220](https://gitlab.com/KevinRoebert/ClearUrls/issues/220)
- Added [#218](https://gitlab.com/KevinRoebert/ClearUrls/issues/218)
### Fixed
- Fixed YouTube ad redirection bug ([#221](https://gitlab.com/KevinRoebert/ClearUrls/issues/221))
- Fixed [#217](https://gitlab.com/KevinRoebert/ClearUrls/issues/217)
## [1.7.0] - 2019-07-30
### Compatibility note

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,8 @@
"rawRules": [
"\\/ref=[^\\/|\\?]*"
],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"fls-na.amazon": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(fls-na\\.amazon)(\\.[a-zA-Z]{2,}).*",
@ -37,7 +38,8 @@
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"google": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(google)(\\.[a-zA-Z]{2,}).*",
@ -92,7 +94,8 @@
".*google\\..*\\/.*url\\?.*url=((https|http)[^&]*)",
".*google\\..*\\/.*url\\?.*q=((https|http)[^&]*)",
".*google\\..*\\/.*adurl=([^&]*)"
]
],
"forceRedirection": true
},
"googlesyndication": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(googlesyndication)(\\.[a-zA-Z]{2,}).*",
@ -100,7 +103,8 @@
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"doubleclick": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(doubleclick)(\\.[a-zA-Z]{2,}).*",
@ -110,17 +114,19 @@
"exceptions": [],
"redirections": [
".*doubleclick\\..*\\/.*tag_for_child_directed_treatment=;%3F(.*)"
]
],
"forceRedirection": false
},
"googleadservices": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(googleadservices)(\\.[a-zA-Z]{2,}).*",
"completeProvider": true,
"completeProvider": false,
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": [
".*googleadservices\\..*\\/.*adurl=([^&]*)"
]
],
"forceRedirection": false
},
"globalRules": {
"urlPattern": ".*",
@ -148,7 +154,8 @@
"(%3F)?hmb_campaign",
"(%3F)?hmb_medium",
"(%3F)?hmb_source",
"(%3F)?[\\?|&]ref[\\_]?"
"(%3F)?[\\?|&]ref[\\_]?",
"(%3F)?gclid"
],
"rawRules": [],
"exceptions": [
@ -160,7 +167,8 @@
".*(myaccount.google\\.[a-zA-Z]{2,}).*",
".*([\\.]?tangerine\\.ca).*"
],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"adtech": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(adtech)(\\.[a-zA-Z]{2,}).*",
@ -168,7 +176,8 @@
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"contentpass.net": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(contentpass\\.net).*",
@ -176,7 +185,8 @@
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"bf-ad": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(bf-ad)(\\.[a-zA-Z]{2,}).*",
@ -184,7 +194,8 @@
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"amazon-adsystem": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(amazon-adsystem)(\\.[a-zA-Z]{2,}).*",
@ -192,7 +203,8 @@
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"adsensecustomsearchads": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(adsensecustomsearchads)(\\.[a-zA-Z]{2,}).*",
@ -200,7 +212,8 @@
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"youtube": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(youtube)(\\.[a-zA-Z]{2,}).*",
@ -214,7 +227,26 @@
"exceptions": [],
"redirections": [
".*youtube\\..*\\/redirect?.*q=([^&]*)"
]
],
"forceRedirection": false
},
"youtube_pagead": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(youtube)(\\.[a-zA-Z]{2,})\\/pagead",
"completeProvider": true,
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": [],
"forceRedirection": false
},
"youtube_apiads": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(youtube)(\\.[a-zA-Z]{2,})\\/api\\/stats\\/ads",
"completeProvider": true,
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": [],
"forceRedirection": false
},
"facebook": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(facebook)(\\.[a-zA-Z]{2,}).*",
@ -234,7 +266,6 @@
"pageid",
"padding",
"ls_ref",
"acontext",
"action_history"
],
"rawRules": [],
@ -244,18 +275,21 @@
],
"redirections": [
".*l[a-zA-Z]?\\.facebook\\..*\\/.*l\\.php\\?.*u=((https%3A%2F%2F|http%3A%2F%2F)[^&]*)"
]
],
"forceRedirection": false
},
"twitter": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(twitter)(\\.[a-zA-Z]{2,}).*",
"completeProvider": false,
"rules": [
"(ref_)?src",
"s"
"(ref_?)?src",
"s",
"cn"
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"reddit": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(reddit)(\\.[a-zA-Z]{2,}).*",
@ -265,7 +299,8 @@
"exceptions": [],
"redirections": [
".*out\\.reddit\\.\\w{2,}\\/.*url=([^&]*)"
]
],
"forceRedirection": false
}
,
"netflix": {
@ -278,7 +313,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"techcrunch": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?([\\.]?techcrunch\\.com).*",
@ -290,7 +326,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"bing": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(bing)(\\.[a-zA-Z]{2,}).*",
@ -306,7 +343,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"tweakers": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(tweakers\\.net).*",
@ -317,7 +355,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"twitch": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(twitch)(\\.[a-zA-Z]{2,}).*",
@ -328,7 +367,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"vivaldi": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(vivaldi\\.com).*",
@ -339,7 +379,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"indeed": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(indeed\\.com).*",
@ -351,7 +392,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"hhdotru": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(hh\\.ru).*",
@ -368,7 +410,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"ebay": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(ebay)(\\.[a-zA-Z]{2,}).*",
@ -380,7 +423,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"cnet": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(cnet\\.com).*",
@ -390,7 +434,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"imdb.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(imdb\\.com).*",
@ -401,7 +446,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"govdelivery.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(govdelivery\\.com).*",
@ -412,7 +458,8 @@
"redirections": [
".*links\\.govdelivery\\.com.*\\/track\\?.*(http:\\/\\/.*)",
".*links\\.govdelivery\\.com.*\\/track\\?.*(https:\\/\\/.*)"
]
],
"forceRedirection": false
},
"walmart.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(walmart\\.com).*",
@ -423,7 +470,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"net-parade.it": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(net\\-parade\\.it).*",
@ -433,7 +481,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"prvnizpravy.cz": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(prvnizpravy\\.cz).*",
@ -443,7 +492,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"youku.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(youku\\.com).*",
@ -454,7 +504,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"nytimes.com": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(nytimes\\.com).*",
@ -464,7 +515,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"tchibo.de": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(tchibo\\.de).*",
@ -474,7 +526,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"steampowered": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(steampowered\\.com).*",
@ -484,7 +537,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"steamcommunity": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(steamcommunity\\.com).*",
@ -494,7 +548,8 @@
"exceptions": [],
"redirections": [
".*steamcommunity\\.com.*\\/linkfilter\\/\\?url=(.*)"
]
],
"forceRedirection": false
},
"disq.us": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(disq\\.us).*",
@ -504,7 +559,8 @@
"exceptions": [],
"redirections": [
".*disq\\.us.*\\/.*url\\?.*url=((https%3A%2F%2F|http%3A%2F%2F).*)%3A"
]
],
"forceRedirection": false
},
"mozaws.net": {
"urlPattern": "https?:\\/\\/outgoing\\.prod\\.mozaws\\.net/.*",
@ -514,7 +570,8 @@
"exceptions": [],
"redirections": [
"https?:\\/\\/[^/]+/v1/[0-9a-f]{64}/(.*)"
]
],
"forceRedirection": false
},
"shutterstock.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(shutterstock\\.com).*",
@ -524,7 +581,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"mozilla.org": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(mozilla\\.org).*",
@ -535,7 +593,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"readdc.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(readdc\\.com).*",
@ -545,7 +604,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"dailycodingproblem.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(dailycodingproblem\\.com).*",
@ -555,7 +615,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"github.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(github\\.com).*",
@ -566,7 +627,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"deviantart.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(deviantart\\.com).*",
@ -576,7 +638,8 @@
"exceptions": [],
"redirections": [
".*deviantart\\.com.*outgoing\\?(.*)"
]
],
"forceRedirection": false
},
"site2.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site2\\.com).*",
@ -586,7 +649,8 @@
"exceptions": [],
"redirections": [
".*site2\\.com.*\\?.*=(.*)"
]
],
"forceRedirection": false
},
"site.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site\\.com).*",
@ -596,7 +660,8 @@
"exceptions": [],
"redirections": [
".*site\\.com.*\\?to=([^&]*)"
]
],
"forceRedirection": false
},
"site3.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(site3\\.com).*",
@ -606,7 +671,8 @@
"exceptions": [],
"redirections": [
".*site3\\.com.*\\?r=([^&]*)"
]
],
"forceRedirection": false
},
"aliexpress.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(aliexpress\\.com).*",
@ -615,11 +681,16 @@
"ws_ab_test",
"btsid",
"algo_expid",
"algo_pvid"
"algo_pvid",
"spm",
"gps-id",
"scm[_a-zA-Z\\-]*",
"pvid"
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"mozillazine.org": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(mozillazine\\.org).*",
@ -629,7 +700,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"9gag.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(9gag\\.com).*",
@ -639,7 +711,8 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"linksynergy.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(linksynergy\\.com).*",
@ -649,7 +722,8 @@
"exceptions": [],
"redirections": [
".*linksynergy\\.com.*\\/.*murl=([^&]*)"
]
],
"forceRedirection": false
},
"giphy.com": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(giphy\\.com).*",
@ -659,7 +733,19 @@
],
"rawRules": [],
"exceptions": [],
"redirections": []
"redirections": [],
"forceRedirection": false
},
"gate.sc": {
"urlPattern": "https?:\\/\\/([a-zA-Z0-9-]*\\.)?(gate\\.sc).*",
"completeProvider": false,
"rules": [],
"rawRules": [],
"exceptions": [],
"redirections": [
".*gate\\.sc.*\\/.*url=([^&]*)"
],
"forceRedirection": false
}
}
}

View File

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