diff --git a/CHANGELOG.md b/CHANGELOG.md index 99c8a6c..de26a56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ 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). +## Ongoing + +### Changed +- Performance optimizations for rules by [@thexeos](https://gitlab.com/thexeos) + ## [1.19.0] - 2020-07-22 ### Compatibility note diff --git a/data/data.min.json b/data/data.min.json index 5719483..9cbb695 100644 --- a/data/data.min.json +++ b/data/data.min.json @@ -1,22 +1,19 @@ { "providers": { "amazon": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(amazon)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}", "completeProvider": false, "rules": [ - "pf_rd_[a-zA-Z]", + "p[fd]_rd_[a-z]*", "qid", - "sr", - "srs", - "pd_rd_[a-zA-Z]*", - "__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}", + "srs?", + "__mk_[a-z]{1,3}_[a-z]{1,3}", "spIA", "ms3_c", - "[a-zA-Z%0-9]*ie", + "[a-z%0-9]*ie", "refRID", - "colid", - "coliid", - "[^a-zA-Z%0-9]adId", + "colii?d", + "[^a-z%0-9]adId", "qualifier", "_encoding", "smid", @@ -26,13 +23,13 @@ "sprefix", "crid", "keywords", - "cv_ct_[a-zA-Z]+", + "cv_ct_[a-z]+", "linkCode", "creativeASIN", "ascsubtag", "aaxitk", "hsa_cr_id", - "sb-ci-[a-zA-Z]+", + "sb-ci-[a-z]+", "rnid", "dchild", "camp", @@ -43,36 +40,29 @@ "tag" ], "exceptions": [ - ".*(amazon\\.).*(\\/gp).*\\/redirector.html\\/.*", - ".*(amazon\\.).*(\\/hz\\/reviews-render\\/ajax\\/).*", - ".*(amazon\\.).*(\\/gp).*\\/cart\\/ajax-update.html\\/.*", - ".*(amazon\\.).*\\/message-us\\?.*", - ".*(amazon\\.).*(\\/gp).*\\/video\\/api\\/.*", - ".*(amazon\\.).*\\/s\\?.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}\\/gp\\/.*?(?:redirector.html|cart\\/ajax-update.html|video\\/api\\/)", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}\\/(?:hz\\/reviews-render\\/ajax\\/|message-us\\?|s\\?)" ], "rawRules": [ - "\\/ref=[^\\/\\?]*" + "\\/ref=[^/?]*" ], "redirections": [], "forceRedirection": false }, "amazon search": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(amazon)(\\.[a-zA-Z]{2,}).*\\/s.*\\?.*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}\\/s\\?", "completeProvider": false, "rules": [ - "pf_rd_[a-zA-Z]", + "p[fd]_rd_[a-z]*", "qid", - "sr", - "srs", - "pd_rd_[a-zA-Z]*", - "__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}", + "srs?", + "__mk_[a-z]{1,3}_[a-z]{1,3}", "spIA", "ms3_c", - "[a-zA-Z%0-9]*ie", + "[a-z%0-9]*ie", "refRID", - "colid", - "coliid", - "[^a-zA-Z%0-9]adId", + "colii?d", + "[^a-z%0-9]adId", "qualifier", "_encoding", "smid", @@ -82,13 +72,13 @@ "sprefix", "crid", "keywords", - "cv_ct_[a-zA-Z]+", + "cv_ct_[a-z]+", "linkCode", "creativeASIN", "ascsubtag", "aaxitk", "hsa_cr_id", - "sb-ci-[a-zA-Z]+", + "sb-ci-[a-z]+", "rnid", "dchild", "camp", @@ -98,14 +88,14 @@ "tag" ], "rawRules": [ - "\\/ref=[^\\/\\?]*" + "\\/ref=[^/?]*" ], "exceptions": [], "redirections": [], "forceRedirection": false }, "fls-na.amazon": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(fls-na\\.amazon)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?fls-na\\.amazon(?:\\.[a-z]{2,}){1,}", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -115,22 +105,22 @@ "forceRedirection": false }, "google": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(google)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}", "completeProvider": false, "rules": [ "ved", - "bi[a-zA-Z]*", - "gfe_[a-zA-Z]*", + "bi[a-z]*", + "gfe_[a-z]*", "ei", "source", - "gs_[a-zA-Z]*", + "gs_[a-z]*", "site", "oq", "esrc", "uact", "cd", "cad", - "gws_[a-zA-Z]*", + "gws_[a-z]*", "atyp", "vet", "zx", @@ -141,8 +131,7 @@ "sei", "sa", "dpr", - "btn[a-zA-Z]*", - "sa", + "btn[a-z]*", "usg", "cd", "cad", @@ -158,31 +147,26 @@ ], "rawRules": [], "exceptions": [ - ".*(mail\\.google\\.).*(\\/mail\\/u\\/0).*", - ".*(google\\.).*(\\/upload)?(\\/drive)\\/.*", - ".*(docs\\.google\\.).*\\/.*", - ".*(accounts\\.google\\.).*", - ".*(google\\.).*\\/searchbyimage\\?image_url=[^\\/\\?&]*(\\/|&(amp;)?)?", - ".*(hangouts\\.google\\.).*\\/webchat.*zx=[^\\/\\?&]*(\\/|&(amp;)?)?", - ".*(client-channel\\.google\\.).*\\/client-channel.*zx=[^\\/\\?&]*(\\/|&(amp;)?)?", - ".*(google\\.).*\\/complete\\/search\\?.*gs_[a-zA-Z]*=[^\\/\\?&]*(\\/|&(amp;)?)?", - ".*(google\\.).*\\/s\\?tbm=map.*gs_[a-zA-Z]*=[^\\/\\?&]*(\\/|&(amp;)?)?", - ".*(news\\.google\\.).*\\?hl=.*", - ".*(google\\.).*\\/setprefs\\?.*hl=[^\\/\\?&]*(\\/|&(amp;)?)?", - ".*(google\\.).*\\/appsactivity\\/.*", - ".*(google\\.).*\\/aclk\\?.*", - ".*(drive\\.google\\.).*\\/videoplayback.*" + "^https?:\\/\\/mail\\.google\\.com\\/mail\\/u\\/", + "^https?:\\/\\/(?:docs|accounts)\\.google(?:\\.[a-z]{2,}){1,}", + "^https?:\\/\\/drive\\.google\\.com\\/videoplayback", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}(?:\\/upload)?\\/drive\\/", + "^https?:\\/\\/news\\.google\\.com.*\\?hl=.", + "^https?:\\/\\/hangouts\\.google\\.com\\/webchat.*?zx=.", + "^https?:\\/\\/client-channel\\.google\\.com\\/client-channel.*?zx=.", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\\/s\\?tbm=map.*?gs_[a-z]*=.", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\\/(?:complete\\/search|setprefs|searchbyimage)", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\\/(?:appsactivity|aclk\\?)" ], "redirections": [ - ".*google\\..*\\/.*url\\?.*url=((https|http)[^&]+)", - ".*google\\..*\\/.*url\\?.*q=((https|http)[^&]+)", - ".*google\\..*\\/.*adurl=([^&]+)", - ".*google\\..*\\/amp\\/s\\/([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\\/url\\?.*?(?:url|q)=(https?[^&]+)", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\\/.*?adurl=([^&]+)", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\\/amp\\/s\\/([^&]+)" ], "forceRedirection": true }, "googleSearch": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(google)(\\.[a-zA-Z]{2,})\\/search\\?.*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?google(?:\\.[a-z]{2,}){1,}\\/search\\?", "completeProvider": false, "rules": [ "client", @@ -195,7 +179,7 @@ "forceRedirection": false }, "googlesyndication": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(googlesyndication)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?googlesyndication\\.com", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -205,26 +189,26 @@ "forceRedirection": false }, "doubleclick": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-\\.]*)?(doubleclick)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?doubleclick(?:\\.[a-z]{2,}){1,}", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*doubleclick\\..*\\/.*tag_for_child_directed_treatment=;%3F(.*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?doubleclick(?:\\.[a-z]{2,}){1,}\\/.*?tag_for_child_directed_treatment=;%3F([^&]*)" ], "forceRedirection": false }, "googleadservices": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(googleadservices)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?googleadservices\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*googleadservices\\..*\\/.*adurl=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?googleadservices\\.com\\/.*?adurl=([^&]*)" ], "forceRedirection": false }, @@ -232,90 +216,75 @@ "urlPattern": ".*", "completeProvider": false, "rules": [ - "(%3F)?utm(_[a-zA-Z_]*)?", - "(%3F)?ga_[a-zA-Z_]+", - "(%3F)?yclid", - "(%3F)?_openstat", - "(%3F)?fb_action_ids", - "(%3F)?fb_action_types", - "(%3F)?fb_source", - "(%3F)?fb_ref", - "(%3F)?fbclid", - "(%3F)?action_object_map", - "(%3F)?action_type_map", - "(%3F)?action_ref_map", - "(%3F)?gs_l", - "(%3F)?mkt_tok", - "(%3F)?hmb_campaign", - "(%3F)?hmb_medium", - "(%3F)?hmb_source", - "(%3F)?[\\?&]?ref[\\_]?", - "(%3F)?referrer", - "(%3F)?gclid", - "(%3F)?otm_[a-zA-Z_]*", - "(%3F)?cmpid", - "(%3F)?os_ehash", - "(%3F)?_ga", - "(%3F)?__twitter_impression", - "(%3F)?wt_?z?mc", - "(%3F)?wtrid", - "(%3F)?[a-zA-Z]?mc", - "(%3F)?dclid", + "(?:%3F)?utm(?:_[a-z_]*)?", + "(?:%3F)?ga_[a-z_]+", + "(?:%3F)?yclid", + "(?:%3F)?_openstat", + "(?:%3F)?fb_action_(?:types|ids)", + "(?:%3F)?fb_(?:source|ref)", + "(?:%3F)?fbclid", + "(?:%3F)?action_(?:object|type|ref)_map", + "(?:%3F)?gs_l", + "(?:%3F)?mkt_tok", + "(?:%3F)?hmb_(?:campaign|medium|source)", + "(?:%3F)?ref_?", + "(?:%3F)?referrer", + "(?:%3F)?gclid", + "(?:%3F)?otm_[a-z_]*", + "(?:%3F)?cmpid", + "(?:%3F)?os_ehash", + "(?:%3F)?_ga", + "(?:%3F)?__twitter_impression", + "(?:%3F)?wt_?z?mc", + "(?:%3F)?wtrid", + "(?:%3F)?[a-z]?mc", + "(?:%3F)?dclid", "Echobox", - "(%3F)?spm", - "(%3F)?vn(_[a-zA-Z]*)+", - "(%3F)?tracking_source" + "(?:%3F)?spm", + "(?:%3F)?vn(?:_[a-z]*)+", + "(?:%3F)?tracking_source" ], "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*([\\.]?matrix\\.org)(\\/_matrix)\\/.*", - ".*([\\.]?prismic\\.io).*", - ".*([\\.]?gitlab\\.com).*", - ".*([\\.]?gcsip\\.com).*[\\?&]ref[\\_]?=[^\\/\\?&]*.*", - ".*([\\.]?cloudflare\\.com).*", - ".*(myaccount.google\\.[a-zA-Z]{2,}).*", - ".*([\\.]?tangerine\\.ca).*", - ".*bugtracker\\.fairphone\\.com\\/.*[\\?&]ref[\\_]?=[^\\/\\?&]*.*", - ".*(comment-cdn\\.9gag\\.com).*(\\/comment-list.json\\?).*", - ".*(battle\\.net\\/login).*", - ".*(blizzard\\.com\\/oauth2).*", - ".*(streamguard\\.cc).*", - ".*(clastarti\\.cc).*", - ".*(kreditkarten-banking\\.lbb\\.de).*", - ".*(facebook\\.)\\w{2,}.*(\\/groups\\/member_bio\\/bio_dialog\\/).*", - ".*([\\.]?tinkoff\\.ru).*", - ".*(cyberport\\.de).*(\\/adscript\\.php).*", - ".*(\\/refs\\/switch).*\\?.*(%3F)?[\\?&]?ref[\\_]?=.*", - ".*tweakers\\.net\\/ext\\/lt\\.dsp\\?.*(%3F)?[\\?&]?ref[\\_]?=.*", - "(https:\\/\\/|http:\\/\\/)git\\..*(\\.[a-zA-Z]{2,}).*\\/commit\\/.*\\/pipelines\\?.*", - "(https:\\/\\/|http:\\/\\/)git\\..*(\\.[a-zA-Z]{2,}).*\\/.*\\/-\\/branches\\?.*", - "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(amazon)(\\.[a-zA-Z]{2,}).*\\/message-us\\?.*", - "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(v-player)(\\.net).*\\/player\\.aspx\\?.*", - "(https:\\/\\/|http:\\/\\/)(authorization\\.)?(td)(\\.com).*\\?.*", - "(https:\\/\\/|http:\\/\\/)(support\\.)(steampowered\\.com).*\\?.*", - "(https:\\/\\/|http:\\/\\/)(privacy\\.)(vakmedianet\\.nl).*\\?.*ref=.*", - "(https:\\/\\/|http:\\/\\/)(sso\\.)(serverplan\\.com)\\/manage2fa\\/check\\?ref=.*", - "(https:\\/\\/|http:\\/\\/)(login\\.)(meijer\\.com)\\/.*\\?ref=.*", - ".*(facebook\\.)\\w{2,}.*(\\/login_alerts\\/).*", - ".*(facebook\\.)\\w{2,}.*(\\/should_add_browser\\/).*", - ".*(facebook\\.)\\w{2,}.*(\\/ajax\\/).*", - ".*(api\\.taiga\\.io).*", - ".*(\\.gog\\.com\\/click\\.html).*", - ".*(login\\.progressive\\.com).*", - ".*(sephora\\.com\\/api\\/).*", - ".*(contestgirl\\.com).*", - ".*agenciatributaria.gob.es.*", - ".*login\\.ingbank\\.pl.*", - "wss?:\\/\\/.*zoom\\.us.*", - ".*api\\.bilibili\\.com.*", - ".*onet\\.pl.*\\?.*utm_campaign=.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?matrix\\.org\\/_matrix\\/", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?(?:cloudflare\\.com|prismic\\.io|tangerine\\.ca|gitlab\\.com)", + "^https?:\\/\\/myaccount.google(?:\\.[a-z]{2,}){1,}", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?gcsip\\.(?:com|nl)[^?]*\\?.*?&?ref_?=.", + "^https?:\\/\\/[^/]+/[^/]+/[^/]+\\/-\\/refs\\/switch[^?]*\\?.*?&?ref_?=.", + "^https?:\\/\\/bugtracker\\.[^/]*\\/[^?]+\\?.*?&?ref_?=[^/?&]*", + "^https?:\\/\\/comment-cdn\\.9gag\\.com\\/.*?comment-list.json\\?", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?battle\\.net\\/login", + "^https?:\\/\\/blizzard\\.com\\/oauth2", + "^https?:\\/\\/kreditkarten-banking\\.lbb\\.de", + "^https?:\\/\\/www\\.tinkoff\\.ru", + "^https?:\\/\\/www\\.cyberport\\.de\\/adscript\\.php", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tweakers\\.net\\/ext\\/lt\\.dsp\\?.*?(?:%3F)?&?ref_?=.", + "^https?:\\/\\/git\\.[^/]*\\/[^?]+\\?.*?&?ref_?=[^/?&]*", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon(?:\\.[a-z]{2,}){1,}\\/message-us\\?", + "^https?:\\/\\/authorization\\.td\\.com", + "^https?:\\/\\/support\\.steampowered\\.com", + "^https?:\\/\\/privacy\\.vakmedianet\\.nl\\/.*?ref=", + "^https?:\\/\\/sso\\.serverplan\\.com\\/manage2fa\\/check\\?ref=", + "^https?:\\/\\/login\\.meijer\\.com\\/.*?\\?ref=", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/(?:login_alerts|ajax|should_add_browser)/", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/groups\\/member_bio\\/bio_dialog\\/", + "^https?:\\/\\/api\\.taiga\\.io", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?gog\\.com\\/click\\.html", + "^https?:\\/\\/login\\.progressive\\.com", + "^https?:\\/\\/www\\.sephora\\.com\\/api\\/", + "^https?:\\/\\/www\\.contestgirl\\.com", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?agenciatributaria\\.gob\\.es", + "^https?:\\/\\/login\\.ingbank\\.pl", + "^wss?:\\/\\/(?:[a-z0-9-]+\\.)*?zoom\\.us", + "^https?:\\/\\/api\\.bilibili\\.com", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?onet\\.pl\\/[^?]*\\?.*?utm_campaign=." ], "redirections": [], "forceRedirection": false }, "adtech": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(adtech)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?adtech(?:\\.[a-z]{2,}){1,}", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -325,7 +294,7 @@ "forceRedirection": false }, "contentpass": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(contentpass\\.(net|de)).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?contentpass\\.(?:net|de)", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -335,7 +304,7 @@ "forceRedirection": false }, "bf-ad": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bf-ad)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bf-ad(?:\\.[a-z]{2,}){1,}", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -345,21 +314,21 @@ "forceRedirection": false }, "amazon-adsystem": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(amazon-adsystem)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon-adsystem(?:\\.[a-z]{2,}){1,}", "completeProvider": true, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*amazon-adsystem\\..*\\/v3\\/oor\\?.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon-adsystem(?:\\.[a-z]{2,}){1,}\\/v3\\/oor\\?" ], "redirections": [ - ".*amazon-adsystem\\..*\\/x\\/c\\/.+?\\/([^&]+)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?amazon-adsystem(?:\\.[a-z]{2,}){1,}\\/x\\/c\\/.+?\\/([^&]+)" ], "forceRedirection": false }, "adsensecustomsearchads": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(adsensecustomsearchads)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?adsensecustomsearchads(?:\\.[a-z]{2,}){1,}", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -369,7 +338,7 @@ "forceRedirection": false }, "youtube": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(youtube)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com", "completeProvider": false, "rules": [ "feature", @@ -380,12 +349,12 @@ "rawRules": [], "exceptions": [], "redirections": [ - ".*youtube\\..*\\/redirect?.*q=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com\\/redirect?.*?q=([^&]*)" ], "forceRedirection": false }, "youtube_pagead": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(youtube)(\\.[a-zA-Z]{2,})\\/pagead", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com\\/pagead", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -395,7 +364,7 @@ "forceRedirection": false }, "youtube_apiads": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(youtube)(\\.[a-zA-Z]{2,})\\/api\\/stats\\/ads", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youtube\\.com\\/api\\/stats\\/ads", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -405,15 +374,14 @@ "forceRedirection": false }, "facebook": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(facebook)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com", "completeProvider": false, "rules": [ - "hc_[a-zA-Z_%\\[\\]0-9]*", - "[a-zA-Z]*ref[a-zA-Z]*", + "hc_[a-z_%\\[\\]0-9]*", + "[a-z]*ref[a-z]*", "__tn__", "eid", - "__xts__%5B[0-9]%5D", - "__xts__\\[[0-9]\\]", + "__xts__(?:\\[|%5B)\\d(?:\\]|%5D)", "comment_tracking", "dti", "app", @@ -427,24 +395,23 @@ "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*(facebook\\.)\\w{2,}.*(\\/plugins\\/).*", - ".*(facebook\\.)\\w{2,}.*(\\/dialog\\/share).*", - ".*(facebook\\.)\\w{2,}.*(\\/groups\\/member_bio\\/bio_dialog\\/).*", - ".*(facebook\\.)\\w{2,}.*(\\/photo\\.php\\?).*", - ".*(facebook\\.)\\w{2,}.*(\\/ajax\\/).*", - ".*(facebook\\.)\\w{2,}.*(\\/privacy\\/specific_audience_selector_dialog\\/).*", - ".*(facebook\\.)\\w{2,}.*(\\/photo\\/download\\/).*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/(plugins|ajax)\\/", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/dialog\\/(?:share|send)", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/groups\\/member_bio\\/bio_dialog\\/", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/photo\\.php\\?", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/privacy\\/specific_audience_selector_dialog\\/", + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?facebook\\.com\\/photo\\/download\\/" ], "redirections": [ - ".*l[a-zA-Z]?\\.facebook\\..*\\/.*l\\.php\\?.*u=((https%3A%2F%2F|http%3A%2F%2F)[^&]*)" + "^https?:\\/\\/l[a-z]?\\.facebook\\.com/l\\.php\\?.*?u=(https?%3A%2F%2F[^&]*)" ], "forceRedirection": false }, "twitter": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(twitter)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?twitter.com", "completeProvider": false, "rules": [ - "(ref_?)?src", + "(?:ref_?)?src", "s", "cn", "ref_url" @@ -456,7 +423,7 @@ "forceRedirection": false }, "reddit": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(reddit)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?reddit.com", "completeProvider": false, "rules": [ "%24deep_link", @@ -472,22 +439,19 @@ ], "referralMarketing": [], "rawRules": [], - "exceptions": [ - "reddit\\.app\\.link" - ], + "exceptions": [], "redirections": [ - ".*out\\.reddit\\.\\w{2,}\\/.*url=([^&]*)", - ".*reddit\\.app\\.link.*\\$original_url=([^&]*)" + "^https?:\\/\\/out\\.reddit\\.com\\/.*?url=([^&]*)" ], "forceRedirection": false }, "netflix": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(netflix)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?netflix.com", "completeProvider": false, "rules": [ "trackId", "tctx", - "jb[a-zA-Z]*" + "jb[a-z]*?" ], "referralMarketing": [], "rawRules": [], @@ -496,7 +460,7 @@ "forceRedirection": false }, "techcrunch": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?([\\.]?techcrunch\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?techcrunch\\.com", "completeProvider": false, "rules": [ "ncid", @@ -510,7 +474,7 @@ "forceRedirection": false }, "bing": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bing)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bing(?:\\.[a-z]{2,}){1,}", "completeProvider": false, "rules": [ "cvid", @@ -524,13 +488,13 @@ "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*(bing)(\\.[a-zA-Z]{2,})\\/WS\\/redirect\\/.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bing(?:\\.[a-z]{2,}){1,}\\/WS\\/redirect\\/" ], "redirections": [], "forceRedirection": false }, "tweakers": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tweakers\\.net).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tweakers\\.net", "completeProvider": false, "rules": [ "nb", @@ -543,7 +507,7 @@ "forceRedirection": false }, "twitch": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(twitch)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?twitch\\.com", "completeProvider": false, "rules": [ "tt_medium", @@ -556,7 +520,7 @@ "forceRedirection": false }, "vivaldi": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(vivaldi\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?vivaldi\\.com", "completeProvider": false, "rules": [ "pk_campaign", @@ -569,23 +533,23 @@ "forceRedirection": false }, "indeed": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(indeed\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?indeed\\.com", "completeProvider": false, "rules": [ "from", "alid", - "[a-zA-Z]*tk" + "[a-z]*tk" ], "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*indeed\\.com\\/rc\\/clk.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?indeed\\.com\\/rc\\/clk" ], "redirections": [], "forceRedirection": false }, "hhdotru": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(hh\\.ru).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?hh\\.ru", "completeProvider": false, "rules": [ "vss", @@ -604,7 +568,7 @@ "forceRedirection": false }, "ebay": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(ebay)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?ebay(?:\\.[a-z]{2,}){1,}", "completeProvider": false, "rules": [ "_trkparms", @@ -616,12 +580,12 @@ "rawRules": [], "exceptions": [], "redirections": [ - ".*rover\\.ebay\\.\\w{2,}\\/rover.*mpre=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?rover\\.ebay(?:\\.[a-z]{2,}){1,}\\/rover.*mpre=([^&]*)" ], "forceRedirection": false }, "cnet": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(cnet\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?cnet\\.com", "completeProvider": false, "rules": [ "ftag" @@ -633,11 +597,11 @@ "forceRedirection": false }, "imdb.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(imdb\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?imdb\\.com", "completeProvider": false, "rules": [ "ref_", - "pf_rd_[a-zA-Z]*" + "pf_rd_[a-z]*" ], "referralMarketing": [], "rawRules": [], @@ -646,24 +610,23 @@ "forceRedirection": false }, "govdelivery.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(govdelivery\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?govdelivery\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*links\\.govdelivery\\.com.*\\/track\\?.*(http:\\/\\/.*)", - ".*links\\.govdelivery\\.com.*\\/track\\?.*(https:\\/\\/.*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?links\\.govdelivery\\.com.*\\/track\\?.*(https?:\\/\\/.*)" ], "forceRedirection": false }, "walmart.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(walmart\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?walmart\\.com", "completeProvider": false, "rules": [ "u1", - "ath[a-zA-Z]*" + "ath[a-z]*" ], "referralMarketing": [], "rawRules": [], @@ -672,7 +635,7 @@ "forceRedirection": false }, "net-parade.it": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(net\\-parade\\.it).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?net\\-parade\\.it", "completeProvider": false, "rules": [ "pl" @@ -684,7 +647,7 @@ "forceRedirection": false }, "prvnizpravy.cz": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(prvnizpravy\\.cz).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?prvnizpravy\\.cz", "completeProvider": false, "rules": [ "xid" @@ -696,7 +659,7 @@ "forceRedirection": false }, "youku.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(youku\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?youku\\.com", "completeProvider": false, "rules": [ "tpa" @@ -708,7 +671,7 @@ "forceRedirection": false }, "nytimes.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(nytimes\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?nytimes\\.com", "completeProvider": false, "rules": [ "smid" @@ -720,7 +683,7 @@ "forceRedirection": false }, "tchibo.de": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tchibo\\.de).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tchibo\\.de", "completeProvider": false, "rules": [ "wbdcd" @@ -732,7 +695,7 @@ "forceRedirection": false }, "steampowered": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(steampowered\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?steampowered\\.com", "completeProvider": false, "rules": [ "snr" @@ -744,31 +707,31 @@ "forceRedirection": false }, "steamcommunity": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(steamcommunity\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?steamcommunity\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*steamcommunity\\.com.*\\/linkfilter\\/\\?url=(.*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?steamcommunity\\.com\\/linkfilter\\/\\?url=([^&]*)" ], "forceRedirection": false }, "mozaws.net": { - "urlPattern": "https?:\\/\\/outgoing\\.prod\\.mozaws\\.net/.*", + "urlPattern": "https?:\\/\\/outgoing\\.prod\\.mozaws\\.net\\/", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - "https?:\\/\\/[^/]+/v1/[0-9a-f]{64}/(.*)" + "https?:\\/\\/[^/]+\\/v1\\/[0-9a-f]{64}\\/(.*)" ], "forceRedirection": false }, "shutterstock.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(shutterstock\\.com).*", + "urlPattern": "https?:\\/\\/([a-z0-9-.]*\\.)shutterstock\\.com", "completeProvider": false, "rules": [ "src" @@ -780,7 +743,7 @@ "forceRedirection": false }, "mozilla.org": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(mozilla\\.org).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?mozilla\\.org", "completeProvider": false, "rules": [ "src", @@ -790,13 +753,13 @@ "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*mozilla.org\\/api.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?mozilla.org\\/api" ], "redirections": [], "forceRedirection": false }, "readdc.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(readdc\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?readdc\\.com", "completeProvider": false, "rules": [ "ref" @@ -808,7 +771,7 @@ "forceRedirection": false }, "dailycodingproblem.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(dailycodingproblem\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?dailycodingproblem\\.com", "completeProvider": false, "rules": [ "email" @@ -820,7 +783,7 @@ "forceRedirection": false }, "github.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(github\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?github\\.com", "completeProvider": false, "rules": [ "email_token", @@ -833,55 +796,55 @@ "forceRedirection": false }, "deviantart.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(deviantart\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?deviantart\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*deviantart\\.com.*outgoing\\?(.*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?deviantart\\.com\\/.*?\\/outgoing\\?(.*)" ], "forceRedirection": false }, "site2.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(site2\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?site2\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*site2\\.com.*\\?.*=(.*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?site2\\.com.*?\\?.*=(.*)" ], "forceRedirection": false }, "site.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(site\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?site\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*site\\.com.*\\?to=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?site\\.com.*?\\?to=([^&]*)" ], "forceRedirection": false }, "site3.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(site3\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?site3\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*site3\\.com.*\\?r=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?site3\\.com.*?\\?r=([^&]*)" ], "forceRedirection": false }, "aliexpress": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(aliexpress)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?aliexpress(?:\\.[a-z]{2,}){1,}", "completeProvider": false, "rules": [ "ws_ab_test", @@ -889,7 +852,7 @@ "algo_expid", "algo_pvid", "gps-id", - "scm[_a-zA-Z\\-]*", + "scm[_a-z-]*", "cv", "af", "mall_affr", @@ -905,7 +868,7 @@ "forceRedirection": false }, "mozillazine.org": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(mozillazine\\.org).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?mozillazine\\.org", "completeProvider": false, "rules": [ "sid" @@ -917,7 +880,7 @@ "forceRedirection": false }, "9gag.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(9gag\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?9gag\\.com", "completeProvider": false, "rules": [ "ref" @@ -925,25 +888,25 @@ "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*(comment-cdn\\.9gag\\.com).*(\\/comment-list.json\\?).*" + "^https?:\\/\\/comment-cdn\\.9gag\\.com\\/.*?comment-list.json\\?" ], "redirections": [], "forceRedirection": false }, "linksynergy.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(linksynergy\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?linksynergy\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*linksynergy\\.com.*\\/.*murl=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?linksynergy\\.com\\/.*?murl=([^&]*)" ], "forceRedirection": false }, "giphy.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(giphy\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?giphy\\.com", "completeProvider": false, "rules": [ "ref" @@ -955,31 +918,31 @@ "forceRedirection": false }, "gate.sc": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(gate\\.sc).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?gate\\.sc", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*gate\\.sc.*\\/.*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?gate\\.sc\\/.*?url=([^&]*)" ], "forceRedirection": false }, "vk.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(vk\\.com).*", + "urlPattern": "^https?:\\/\\/vk\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*vk\\.com\\/away\\.php\\?to=([^&]*)" + "^https?:\\/\\/vk\\.com\\/away\\.php\\?to=([^&]*)" ], "forceRedirection": false }, "woot.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(woot\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?woot\\.com", "completeProvider": false, "rules": [ "ref_?" @@ -991,7 +954,7 @@ "forceRedirection": false }, "vitamix.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(vitamix\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?vitamix\\.com", "completeProvider": false, "rules": [ "_requestid", @@ -1008,31 +971,31 @@ "forceRedirection": false }, "curseforge.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(curseforge\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?curseforge\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*curseforge\\.com\\/linkout\\?remoteUrl=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?curseforge\\.com\\/linkout\\?remoteUrl=([^&]*)" ], "forceRedirection": false }, "messenger.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(messenger\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?messenger\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*l\\.messenger\\.com\\/l\\.php\\?u=([^&]*)" + "^https?:\\/\\/l\\.messenger\\.com\\/l\\.php\\?u=([^&]*)" ], "forceRedirection": false }, "nypost.com": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(nypost\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?nypost\\.com", "completeProvider": false, "rules": [ "__twitter_impression" @@ -1044,7 +1007,7 @@ "forceRedirection": false }, "ozon.ru": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(ozon\\.ru).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?ozon\\.ru", "completeProvider": false, "rules": [ "partner" @@ -1056,7 +1019,7 @@ "forceRedirection": false }, "norml.org": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(norml\\.org).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?norml\\.org", "completeProvider": false, "rules": [ "link_id", @@ -1072,12 +1035,12 @@ "forceRedirection": false }, "LinkedIn": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(linkedin\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?linkedin\\.com", "completeProvider": false, "rules": [ "refId", "trk", - "li[a-zA-Z]{2}" + "li[a-z]{2}" ], "referralMarketing": [], "rawRules": [], @@ -1086,7 +1049,7 @@ "forceRedirection": false }, "LinkedIn Learning": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(linkedin\\.com)\//learning.*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?linkedin\\.com\\/learning", "completeProvider": false, "rules": [ "u" @@ -1098,19 +1061,19 @@ "forceRedirection": false }, "smartredirect.de": { - "urlPattern": "https?:\\/\\/([a-zA-Z0-9-.]*\\.)?(smartredirect\\.de).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?smartredirect\\.de", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?smartredirect\\.de.*?url=([^&]*)" ], "forceRedirection": false }, "SPIEGEL ONLINE": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(spiegel)(\\.de).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?spiegel\\.de", "completeProvider": false, "rules": [ "b" @@ -1122,7 +1085,7 @@ "forceRedirection": false }, "rutracker.org": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(rutracker)(\\.org).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?rutracker\\.org", "completeProvider": false, "rules": [], "referralMarketing": [], @@ -1134,7 +1097,7 @@ "forceRedirection": false }, "instagram": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(instagram)(\\.[a-zA-Z]{2,}).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?instagram\\.com", "completeProvider": false, "rules": [ "igshid" @@ -1148,7 +1111,7 @@ "forceRedirection": false }, "lazada.com.my": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(lazada\\.com)(\\.my).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?lazada\\.com\\.my", "completeProvider": false, "rules": [ "ad_src", @@ -1166,19 +1129,19 @@ "forceRedirection": false }, "imgsrc.ru": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(imgsrc)(\\.ru).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?imgsrc\\.ru", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*dlp\\.imgsrc\\.ru\\/go\\/\\d+\\/\\d+\\/\\d+\\/([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?dlp\\.imgsrc\\.ru\\/go\\/\\d+\\/\\d+\\/\\d+\\/([^&]*)" ], "forceRedirection": false }, "boredpanda.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(boredpanda)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?boredpanda\\.com", "completeProvider": false, "rules": [ "h" @@ -1190,31 +1153,31 @@ "forceRedirection": false }, "awstrack.me": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(awstrack)(\\.me).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?awstrack\\.me", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*awstrack\\.me\\/.*\\/(https?.*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?awstrack\\.me\\/.*\\/(https?.*)" ], "forceRedirection": false }, "exactag.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(exactag)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?exactag\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?exactag\\.com.*url=([^&]*)" ], "forceRedirection": false }, "bahn.de": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bahn)(\\.de).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bahn\\.de", "completeProvider": false, "rules": [ "dbkanal_[0-9]{3}" @@ -1226,7 +1189,7 @@ "forceRedirection": false }, "disq.us": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(disq)(\\.us).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?disq\\.us", "completeProvider": false, "rules": [ "cuid" @@ -1235,24 +1198,24 @@ "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)%3A.*&cuid=.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?disq\\.us\\/.*?url=([^&]*)%3A" ], "forceRedirection": false }, "anonym.to": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(anonym)(\\.to).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?anonym\\.to", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*\\?([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?anonym\\.to.*\\?([^&]*)" ], "forceRedirection": false }, "moosejaw.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(moosejaw)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?moosejaw\\.com", "completeProvider": false, "rules": [ "cm_lm", @@ -1270,7 +1233,7 @@ "forceRedirection": false }, "spotify.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(spotify)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?spotify\\.com", "completeProvider": false, "rules": [ "si" @@ -1282,7 +1245,7 @@ "forceRedirection": false }, "yandex": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(yandex)(\\.ru|\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?(?:yandex(?:\\.[a-z]{2,}){1,}|ya\\.ru)", "completeProvider": false, "rules": [ "lr", @@ -1295,7 +1258,7 @@ "forceRedirection": false }, "healio.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(healio)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?healio\\.com", "completeProvider": false, "rules": [ "ecp", @@ -1308,7 +1271,7 @@ "forceRedirection": false }, "zoho.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(zoho)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?zoho\\.com", "completeProvider": false, "rules": [ "iref" @@ -1320,7 +1283,7 @@ "forceRedirection": false }, "snapchat.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(snapchat)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?snapchat\\.com", "completeProvider": false, "rules": [ "sc_referrer", @@ -1333,7 +1296,7 @@ "forceRedirection": false }, "medium.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(medium)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?medium\\.com", "completeProvider": false, "rules": [ "source" @@ -1345,7 +1308,7 @@ "forceRedirection": false }, "swp.de": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(swp)(\\.de).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?swp\\.de", "completeProvider": false, "rules": [ "source" @@ -1357,7 +1320,7 @@ "forceRedirection": false }, "wps.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(wps)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?wps\\.com", "completeProvider": false, "rules": [ "from" @@ -1369,7 +1332,7 @@ "forceRedirection": false }, "accounts.firefox.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)(accounts\\.)?(firefox)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:accounts\\.)?firefox\\.com", "completeProvider": false, "rules": [ "context", @@ -1383,7 +1346,7 @@ "forceRedirection": false }, "support.mozilla.org": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)(support\\.)?(mozilla)(\\.org).*", + "urlPattern": "^https?:\\/\\/(?:support\\.)?mozilla\\.org", "completeProvider": false, "rules": [ "as" @@ -1395,7 +1358,7 @@ "forceRedirection": false }, "ClearURLsTest": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)(kevinroebert\\.gitlab\\.io)\\/ClearUrls\\/void\\/index\\.html.*", + "urlPattern": "^https?:\\/\\/kevinroebert\\.gitlab\\.io\\/ClearUrls\\/void\\/index\\.html", "completeProvider": false, "rules": [ "test" @@ -1404,12 +1367,12 @@ "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/kevinroebert\\.gitlab\\.io\\/ClearUrls\\/void\\/index\\.html\\?url=([^&]*)" ], "forceRedirection": false }, "ClearURLsTestBlock": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)(kevinroebert\\.gitlab\\.io)\\/ClearUrls\\/void\\/block\\.svg.*", + "urlPattern": "^https?:\\/\\/kevinroebert\\.gitlab\\.io\\/ClearUrls\\/void\\/block\\.svg", "completeProvider": true, "rules": [], "referralMarketing": [], @@ -1419,7 +1382,7 @@ "forceRedirection": false }, "diepresse.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(diepresse)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?diepresse\\.com", "completeProvider": false, "rules": [ "from", @@ -1433,7 +1396,7 @@ "forceRedirection": false }, "newsletter.lidl.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(newsletter\\.lidl)(\\.com).*", + "urlPattern": "^https?:\\/\\/newsletter\\.lidl(?:\\.[a-z]{2,}){1,}", "completeProvider": false, "rules": [ "x" @@ -1445,7 +1408,7 @@ "forceRedirection": false }, "allegro.pl": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(allegro)(\\.pl).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?allegro\\.pl", "completeProvider": false, "rules": [ "reco_id", @@ -1458,7 +1421,7 @@ "forceRedirection": false }, "backcountry.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(backcountry)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?backcountry\\.com", "completeProvider": false, "rules": [ "CMP_SKU", @@ -1481,8 +1444,9 @@ "exceptions": [], "redirections": [], "forceRedirection": false - },"meetup.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(meetup)(\\.com).*", + }, + "meetup.com": { + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?meetup\\.com", "completeProvider": false, "rules": [ "rv", @@ -1493,31 +1457,34 @@ "exceptions": [], "redirections": [], "forceRedirection": false - },"apple.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(apple)(\\.com).*", + }, + "apple.com": { + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?apple\\.com", "completeProvider": false, "rules": [ "app", - "ign-itsc[a-zA-Z]+" + "ign-itsc[a-z]+" ], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [], "forceRedirection": false - },"alabout.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(alabout)(\\.com).*", + }, + "alabout.com": { + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?alabout\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?alabout\\.com.*url=([^&]*)" ], "forceRedirection": false - },"newyorker.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(newyorker)(\\.com).*", + }, + "newyorker.com": { + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?newyorker\\.com", "completeProvider": false, "rules": [ "source", @@ -1531,8 +1498,9 @@ "exceptions": [], "redirections": [], "forceRedirection": false - }, "gog.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(gog)(\\.com).*", + }, + "gog.com": { + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?gog\\.com", "completeProvider": false, "rules": [ "track_click", @@ -1545,20 +1513,19 @@ "forceRedirection": false }, "tradedoubler.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tradedoubler)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tradedoubler\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)", - ".*_td_deeplink=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tradedoubler\\.com.*(?:url|_td_deeplink)=([^&]*)" ], "forceRedirection": false }, "theguardian.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(theguardian)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?theguardian\\.com", "completeProvider": false, "rules": [ "CMP" @@ -1570,43 +1537,43 @@ "forceRedirection": false }, "srvtrck.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(srvtrck)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?srvtrck\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?srvtrck\\.com.*url=([^&]*)" ], "forceRedirection": false }, "mysku.ru": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(mysku)(\\.ru).*", + "urlPattern": "^https?:\\/\\/mysku\\.ru", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*r=([^&]*)" + "^https?:\\/\\/mysku\\.ru.*r=([^&]*)" ], "forceRedirection": false }, "admitad.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(admitad)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?admitad\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*ulp=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?admitad\\.com.*ulp=([^&]*)" ], "forceRedirection": false }, "taobao.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(taobao)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?taobao\\.com", "completeProvider": false, "rules": [ "price", @@ -1620,7 +1587,7 @@ "shareurl", "short_name", "app", - "scm[_a-zA-Z\\-]*", + "scm[_a-z-]*", "pvid", "algo_expid", "algo_pvid", @@ -1650,7 +1617,7 @@ "forceRedirection": false }, "tmall.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tmall)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tmall\\.com", "completeProvider": false, "rules": [ "price", @@ -1664,7 +1631,7 @@ "shareurl", "short_name", "app", - "scm[_a-zA-Z\\-]*", + "scm[_a-z-]*", "pvid", "algo_expid", "algo_pvid", @@ -1695,7 +1662,7 @@ "forceRedirection": false }, "tb.cn": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tb)(\\.cn).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tb\\.cn", "completeProvider": false, "rules": [ "sm" @@ -1707,7 +1674,7 @@ "forceRedirection": false }, "bilibili.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bilibili)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bilibili\\.com", "completeProvider": false, "rules": [ "callback", @@ -1719,13 +1686,13 @@ "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*(api\\.bilibili\\.com)\\/.*" + "^https?:\\/\\/api\\.bilibili\\.com" ], "redirections": [], "forceRedirection": false }, "marketscreener.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(marketscreener)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?marketscreener\\.com", "completeProvider": false, "rules": [ "type_recherche", @@ -1741,13 +1708,13 @@ "referralMarketing": [], "rawRules": [], "exceptions": [ - ".*\\/search\\/.*\\?.*" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?marketscreener\\.com\\/search\\/\\?" ], "redirections": [], "forceRedirection": false }, "marketscreener.com search": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(marketscreener)(\\.com).*\\/search\\/.*\\?.*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?marketscreener\\.com\\/search\\/\\?", "completeProvider": false, "rules": [ "type_recherche", @@ -1765,7 +1732,7 @@ "forceRedirection": false }, "bestbuy.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bestbuy)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bestbuy\\.com", "completeProvider": false, "rules": [ "irclickid", @@ -1782,19 +1749,19 @@ "forceRedirection": false }, "digidip.net": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(digidip)(\\.net).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?digidip\\.net", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?digidip\\.net.*url=([^&]*)" ], "forceRedirection": false }, "tiktok.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(tiktok)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?tiktok\\.com", "completeProvider": false, "rules": [ "u_code", @@ -1813,7 +1780,7 @@ "forceRedirection": false }, "autoplus.fr": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(autoplus)(\\.fr).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?autoplus\\.fr", "completeProvider": false, "rules": [ "idprob", @@ -1829,7 +1796,7 @@ "forceRedirection": false }, "bigfishgames.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bigfishgames)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bigfishgames\\.com", "completeProvider": false, "rules": [ "pc", @@ -1846,19 +1813,19 @@ "forceRedirection": false }, "dpbolvw.net": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(dpbolvw)(\\.net).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?dpbolvw\\.net", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?dpbolvw\\.net.*url=([^&]*)" ], "forceRedirection": false }, "humblebundle.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(humblebundle)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?humblebundle\\.com", "completeProvider": false, "rules": [], "referralMarketing": [ @@ -1870,7 +1837,7 @@ "forceRedirection": false }, "cafepedagogique.net": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(cafepedagogique)(\\.net).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?cafepedagogique\\.net", "completeProvider": false, "rules": [ "actId", @@ -1884,10 +1851,10 @@ "forceRedirection": false }, "bloculus.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(bloculus)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?bloculus\\.com", "completeProvider": false, "rules": [ - "tl_[a-zA-Z_]+" + "tl_[a-z_]+" ], "referralMarketing": [], "rawRules": [], @@ -1896,43 +1863,43 @@ "forceRedirection": false }, "mailpanion.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(mailpanion)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?mailpanion\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*destination=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?mailpanion\\.com.*destination=([^&]*)" ], "forceRedirection": false }, "signtr.website": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(signtr)(\\.website).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?signtr\\.website", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*redirect=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?signtr\\.website.*redirect=([^&]*)" ], "forceRedirection": false }, "mailtrack.io": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(mailtrack)(\\.io).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?mailtrack\\.io", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?mailtrack\\.io.*url=([^&]*)" ], "forceRedirection": false }, "zillow.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(zillow)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?zillow\\.com", "completeProvider": false, "rules": [ "rtoken" @@ -1944,7 +1911,7 @@ "forceRedirection": false }, "realtor.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(realtor)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?realtor\\.com", "completeProvider": false, "rules": [ "ex", @@ -1959,7 +1926,7 @@ "forceRedirection": false }, "redfin.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(redfin)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?redfin\\.com", "completeProvider": false, "rules": [ "riftinfo" @@ -1971,7 +1938,7 @@ "forceRedirection": false }, "epicgames.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(epicgames)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?epicgames\\.com", "completeProvider": false, "rules": [ "epic_affiliate", @@ -1984,7 +1951,7 @@ "forceRedirection": false }, "onet.pl": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(onet)(\\.pl).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?onet\\.pl", "completeProvider": false, "rules": [ "srcc", @@ -1999,7 +1966,7 @@ "forceRedirection": false }, "allrecipes.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(allrecipes)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?allrecipes\\.com", "completeProvider": false, "rules": [ "internalSource", @@ -2014,7 +1981,7 @@ "forceRedirection": false }, "europe1.fr": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(europe1)(\\.fr).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?europe1\\.fr", "completeProvider": false, "rules": [ "xtor" @@ -2026,19 +1993,19 @@ "forceRedirection": false }, "effiliation.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(effiliation)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?effiliation\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?effiliation\\.com.*url=([^&]*)" ], "forceRedirection": false }, "argos.co.uk": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(argos)(\\.co\\.uk).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?argos\\.co\\.uk", "completeProvider": false, "rules": [ "istCompanyId", @@ -2054,19 +2021,19 @@ "forceRedirection": false }, "hlserve.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(hlserve)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?hlserve\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*dest=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?hlserve\\.com.*dest=([^&]*)" ], "forceRedirection": false }, "thunderbird.net": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(thunderbird)(\\.net).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?thunderbird\\.net", "completeProvider": false, "rules": [ "src" @@ -2078,7 +2045,7 @@ "forceRedirection": false }, "cnbc.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(cnbc)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?cnbc\\.com", "completeProvider": false, "rules": [ "__source" @@ -2090,7 +2057,7 @@ "forceRedirection": false }, "roblox.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(roblox)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?roblox\\.com", "completeProvider": false, "rules": [ "refPageId" @@ -2102,7 +2069,7 @@ "forceRedirection": false }, "cell.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(cell)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?cell\\.com", "completeProvider": false, "rules": [ "_returnURL" @@ -2114,7 +2081,7 @@ "forceRedirection": false }, "academic.oup.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(academic\\.)(oup)(\\.com).*", + "urlPattern": "^https?:\\/\\/academic\\.oup\\.com", "completeProvider": false, "rules": [ "redirectedFrom" @@ -2126,19 +2093,19 @@ "forceRedirection": false }, "flexlinkspro.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(flexlinkspro)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?flexlinkspro\\.com", "completeProvider": false, "rules": [], "referralMarketing": [], "rawRules": [], "exceptions": [], "redirections": [ - ".*url=([^&]*)" + "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?flexlinkspro\\.com.*url=([^&]*)" ], "forceRedirection": false }, "agata88.com": { - "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-.]*\\.)?(flexlinkspro)(\\.com).*", + "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?agata88\\.com", "completeProvider": false, "rules": [ "source" diff --git a/manifest.json b/manifest.json index 186708e..2dccdae 100644 --- a/manifest.json +++ b/manifest.json @@ -272,7 +272,8 @@ "all_frames": true, "matches": [ "*://*.yandex.ru/*", - "*://*.yandex.com/*" + "*://*.yandex.com/*", + "*://*.ya.ru/*" ], "js": [ "core_js/yandex_link_fix.js"