Add new rules and rewrite old rules
+ New rules for: + youtube + facebook + imdb + adsensecustomsearchads + new global rules Rewrite old rules regex after the = from "[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?" to "[^&]*(\\?|&(amp;)?)?", because it is stronger.
This commit is contained in:
parent
4deb0b7d6a
commit
3d119f01e2
111
data/data.json
111
data/data.json
|
@ -4,17 +4,16 @@
|
||||||
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.amazon\\.)\\w{2,}\\/.*",
|
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.amazon\\.)\\w{2,}\\/.*",
|
||||||
"completeProvider": false,
|
"completeProvider": false,
|
||||||
"rules": [
|
"rules": [
|
||||||
"pf_rd_[a-zA-Z]=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"pf_rd_[a-zA-Z]=[^&]*(\\?|&(amp;)?)?",
|
||||||
"qid=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"qid=[^&]*(\\?|&(amp;)?)?",
|
||||||
"sr=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"sr=[^&]*(\\?|&(amp;)?)?",
|
||||||
"srs=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"srs=[^&]*(\\?|&(amp;)?)?",
|
||||||
".*(amazon-adsystem\\.com)\\/.*",
|
|
||||||
".*(adsensecustomsearchads\\.com)\\/.*",
|
".*(adsensecustomsearchads\\.com)\\/.*",
|
||||||
"pd_rd_[a-zA-Z]*=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"pd_rd_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
|
||||||
"__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[a-zA-Z0-9\\-\\.\\_\\%]*[\\?|&]?",
|
"__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^&]*(\\?|&(amp;)?)?",
|
||||||
"url=[a-zA-Z0-9\\-\\.\\_\\%]*[\\?|&]?",
|
"url=[^&]*(\\?|&(amp;)?)?",
|
||||||
"spIA=[a-zA-Z0-9\\-\\.\\_\\%]*[\\?|&]?",
|
"spIA=[^&]*(\\?|&(amp;)?)?",
|
||||||
"rh=[a-zA-Z0-9\\-\\.\\_\\%]*[\\?|&]?"
|
"rh=[^&]*(\\?|&(amp;)?)?"
|
||||||
],
|
],
|
||||||
"exceptions": [
|
"exceptions": [
|
||||||
".*(amazon\\.)\\w{2,}(\/gp\/).*\\/redirector.html\\/.*"
|
".*(amazon\\.)\\w{2,}(\/gp\/).*\\/redirector.html\\/.*"
|
||||||
|
@ -24,27 +23,27 @@
|
||||||
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.google\\.)\\w{2,}\\/.*",
|
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.google\\.)\\w{2,}\\/.*",
|
||||||
"completeProvider": false,
|
"completeProvider": false,
|
||||||
"rules": [
|
"rules": [
|
||||||
"ved=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"ved=[^&]*(\\?|&(amp;)?)?",
|
||||||
"bi[a-zA-Z]*=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"bi[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
|
||||||
"gfe_[a-zA-Z]*=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"gfe_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
|
||||||
"ei=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"ei=[^&]*(\\?|&(amp;)?)?",
|
||||||
"source=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"source=[^&]*(\\?|&(amp;)?)?",
|
||||||
"gs_[a-zA-Z]*=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"gs_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?",
|
||||||
"site=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?",
|
"site=[^&]*(\\?|&(amp;)?)?",
|
||||||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?)?"
|
||||||
],
|
],
|
||||||
"exceptions": []
|
"exceptions": []
|
||||||
},
|
},
|
||||||
|
@ -60,11 +59,26 @@
|
||||||
"rules": [],
|
"rules": [],
|
||||||
"exceptions": []
|
"exceptions": []
|
||||||
},
|
},
|
||||||
"utm": {
|
"globalRules": {
|
||||||
"urlPattern": ".*",
|
"urlPattern": ".*",
|
||||||
"completeProvider": false,
|
"completeProvider": false,
|
||||||
"rules": [
|
"rules": [
|
||||||
"utm_[a-zA-Z]*=.*[\\?|&]?"
|
"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;)?)?"
|
||||||
],
|
],
|
||||||
"exceptions": []
|
"exceptions": []
|
||||||
},
|
},
|
||||||
|
@ -91,6 +105,37 @@
|
||||||
"completeProvider": true,
|
"completeProvider": true,
|
||||||
"rules": [],
|
"rules": [],
|
||||||
"exceptions": []
|
"exceptions": []
|
||||||
|
},
|
||||||
|
"adsensecustomsearchads": {
|
||||||
|
"urlPattern": ".*(adsensecustomsearchads).*",
|
||||||
|
"completeProvider": true,
|
||||||
|
"rules": [],
|
||||||
|
"exceptions": []
|
||||||
|
},
|
||||||
|
"youtube": {
|
||||||
|
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.youtube\\.)\\w{2,}\\/.*",
|
||||||
|
"completeProvider": false,
|
||||||
|
"rules": [
|
||||||
|
"feature=[^&]*(\\?|&(amp;)?)?"
|
||||||
|
],
|
||||||
|
"exceptions": []
|
||||||
|
},
|
||||||
|
"facebook": {
|
||||||
|
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.facebook\\.)\\w{2,}\\/.*",
|
||||||
|
"completeProvider": false,
|
||||||
|
"rules": [
|
||||||
|
"[a-zA-Z]*ref=[^&]*(\\?|&(amp;)?)?",
|
||||||
|
"hc_location=[^&]*(\\?|&(amp;)?)?"
|
||||||
|
],
|
||||||
|
"exceptions": []
|
||||||
|
},
|
||||||
|
"imdb": {
|
||||||
|
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.imdb\\.com)\\/.*",
|
||||||
|
"completeProvider": false,
|
||||||
|
"rules": [
|
||||||
|
"ref_=[^&]*(\\?|&(amp;)?)?"
|
||||||
|
],
|
||||||
|
"exceptions": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user