Regex logic fix for amazon search

This commit is contained in:
Kevin Röbert 2017-08-25 00:51:01 +02:00
parent c071805127
commit 78d6e4c26b

View File

@ -4,18 +4,18 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.amazon\\.)\\w{2,}\\/.*",
"completeProvider": false,
"rules": [
"pf_rd_[a-zA-Z]=[^&]*(\\?|&(amp;)?)?",
"qid=[^&]*(\\?|&(amp;)?)?",
"sr=[^&]*(\\?|&(amp;)?)?",
"srs=[^&]*(\\?|&(amp;)?)?",
"pf_rd_[a-zA-Z]=[^&]*(\\/|\\?|&(amp;)?)?",
"qid=[^&]*(\\/|\\?|&(amp;)?)?",
"sr=[^&]*(\\/|\\?|&(amp;)?)?",
"srs=[^&]*(\\/|\\?|&(amp;)?)?",
".*(adsensecustomsearchads\\.com)\\/.*",
"pd_rd_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
"__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^&]*(\\?|&(amp;)?)?",
"url=[^&]*(\\?|&(amp;)?)?",
"spIA=[^&]*(\\?|&(amp;)?)?",
"rh=[^&]*(\\?|&(amp;)?)?",
"ms3_c=[^&]*(\\?|&(amp;)?)?",
"ref[\\_]?=[^&]*(\\?|&(amp;)?)?"
"pd_rd_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^&]*(\\/|\\?|&(amp;)?)?",
"url=[^&]*(\\/|\\?|&(amp;)?)?",
"spIA=[^&]*(\\/|\\?|&(amp;)?)?",
"rh=[^&]*(\\/|\\?|&(amp;)?)?",
"ms3_c=[^&]*(\\/|\\?|&(amp;)?)?",
"ref[\\_]?=[^&]*(\\/|\\?|&(amp;)?)?"
],
"exceptions": [
".*(amazon\\.)\\w{2,}(\\/gp).*\\/redirector.html\\/.*",
@ -26,27 +26,27 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.google\\.)\\w{2,}\\/.*",
"completeProvider": false,
"rules": [
"ved=[^&]*(\\?|&(amp;)?)?",
"bi[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
"gfe_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
"ei=[^&]*(\\?|&(amp;)?)?",
"source=[^&]*(\\?|&(amp;)?)?",
"gs_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
"site=[^&]*(\\?|&(amp;)?)?",
"&\\.[^&]*(\\?|&(amp;)?)?",
"oq=[^&]*(\\?|&(amp;)?)?",
"esrc=[^&]*(\\?|&(amp;)?)?",
"uact=[^&]*(\\?|&(amp;)?)?",
"cd=[^&]*(\\?|&(amp;)?)?",
"cad=[^&]*(\\?|&(amp;)?)?",
"gws_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
"im[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
"atyp=[^&]*(\\?|&(amp;)?)?",
"vet=[^&]*(\\?|&(amp;)?)?",
"zx=[^&]*(\\?|&(amp;)?)?",
"_u=[^&]*(\\?|&(amp;)?)?",
"je=[^&]*(\\?|&(amp;)?)?",
"[a-zA-Z\\_]+id=[^&]*(\\?|&(amp;)?)?"
"ved=[^&]*(\\/|\\?|&(amp;)?)?",
"bi[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"gfe_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"ei=[^&]*(\\/|\\?|&(amp;)?)?",
"source=[^&]*(\\/|\\?|&(amp;)?)?",
"gs_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"site=[^&]*(\\/|\\?|&(amp;)?)?",
"&\\.[^&]*(\\/|\\?|&(amp;)?)?",
"oq=[^&]*(\\/|\\?|&(amp;)?)?",
"esrc=[^&]*(\\/|\\?|&(amp;)?)?",
"uact=[^&]*(\\/|\\?|&(amp;)?)?",
"cd=[^&]*(\\/|\\?|&(amp;)?)?",
"cad=[^&]*(\\/|\\?|&(amp;)?)?",
"gws_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"im[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"atyp=[^&]*(\\/|\\?|&(amp;)?)?",
"vet=[^&]*(\\/|\\?|&(amp;)?)?",
"zx=[^&]*(\\/|\\?|&(amp;)?)?",
"_u=[^&]*(\\/|\\?|&(amp;)?)?",
"je=[^&]*(\\/|\\?|&(amp;)?)?",
"[a-zA-Z\\_]+id=[^&]*(\\/|\\?|&(amp;)?)?"
],
"exceptions": []
},
@ -66,23 +66,23 @@
"urlPattern": ".*",
"completeProvider": false,
"rules": [
"utm_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
"ga_source=[^&]*(\\?|&(amp;)?)?",
"ga_medium=[^&]*(\\?|&(amp;)?)?",
"ga_term=[^&]*(\\?|&(amp;)?)?",
"ga_content=[^&]*(\\?|&(amp;)?)?",
"ga_campaign=[^&]*(\\?|&(amp;)?)?",
"ga_place=[^&]*(\\?|&(amp;)?)?",
"yclid=[^&]*(\\?|&(amp;)?)?",
"_openstat=[^&]*(\\?|&(amp;)?)?",
"fb_action_ids=[^&]*(\\?|&(amp;)?)?",
"fb_action_types=[^&]*(\\?|&(amp;)?)?",
"fb_ref=[^&]*(\\?|&(amp;)?)?",
"fb_source=[^&]*(\\?|&(amp;)?)?",
"action_object_map=[^&]*(\\?|&(amp;)?)?",
"action_type_map=[^&]*(\\?|&(amp;)?)?",
"action_ref_map=[^&]*(\\?|&(amp;)?)?",
"gs_l=[^&]*(\\?|&(amp;)?)?"
"utm_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_source=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_medium=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_term=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_content=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_campaign=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_place=[^&]*(\\/|\\?|&(amp;)?)?",
"yclid=[^&]*(\\/|\\?|&(amp;)?)?",
"_openstat=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_action_ids=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_action_types=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_ref=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_source=[^&]*(\\/|\\?|&(amp;)?)?",
"action_object_map=[^&]*(\\/|\\?|&(amp;)?)?",
"action_type_map=[^&]*(\\/|\\?|&(amp;)?)?",
"action_ref_map=[^&]*(\\/|\\?|&(amp;)?)?",
"gs_l=[^&]*(\\/|\\?|&(amp;)?)?"
],
"exceptions": []
},
@ -120,7 +120,7 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.youtube\\.)\\w{2,}\\/.*",
"completeProvider": false,
"rules": [
"feature=[^&]*(\\?|&(amp;)?)?"
"feature=[^&]*(\\/|\\?|&(amp;)?)?"
],
"exceptions": []
},
@ -128,8 +128,8 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.facebook\\.)\\w{2,}\\/.*",
"completeProvider": false,
"rules": [
"[a-zA-Z]*ref=[^&]*(\\?|&(amp;)?)?",
"hc_location=[^&]*(\\?|&(amp;)?)?"
"[a-zA-Z]*ref=[^&]*(\\/|\\?|&(amp;)?)?",
"hc_location=[^&]*(\\/|\\?|&(amp;)?)?"
],
"exceptions": []
},
@ -137,7 +137,7 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.imdb\\.com)\\/.*",
"completeProvider": false,
"rules": [
"ref_=[^&]*(\\?|&(amp;)?)?"
"ref_=[^&]*(\\/|\\?|&(amp;)?)?"
],
"exceptions": []
}