New rule file

+ Added global rule for ref fields
- Removed specific rules for ref fields (because of the global rule)
+ Added rule to remove the last `?` or `&`
This commit is contained in:
Kevin Röbert 2018-03-01 20:28:46 +01:00
parent ed3e97a480
commit 3d7e3a4977

View File

@ -13,10 +13,8 @@
"__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"spIA=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "spIA=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"ms3_c=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "ms3_c=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"ref[\\_]?=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "[a-zA-Z%0-9]*ie=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"ie=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"psc=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "psc=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"refRID=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"colid=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "colid=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"coliid=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "coliid=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"adId=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "adId=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
@ -100,16 +98,17 @@
"_openstat=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "_openstat=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"fb_action_ids=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "fb_action_ids=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"fb_action_types=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "fb_action_types=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"fb_ref=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"fb_source=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "fb_source=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"action_object_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "action_object_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"action_type_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "action_type_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"action_ref_map=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"gs_l=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "gs_l=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"mkt_tok=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "mkt_tok=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"hmb_campaign=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "hmb_campaign=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"hmb_medium=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "hmb_medium=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"hmb_source=[^\\/|\\?|&]*(\\/|&(amp;)?)?" "hmb_source=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"[a-zA-Z_]*ref[a-zA-Z_]*=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"\\?$",
"\\&$"
], ],
"exceptions": [], "exceptions": [],
"redirections": [] "redirections": []
@ -164,7 +163,6 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?facebook\\.).*\\/.*", "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?facebook\\.).*\\/.*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"[a-zA-Z]*ref=[^\\/|\\?|&]*(\\/|&(amp;)?)?",
"hc_location=[^\\/|\\?|&]*(\\/|&(amp;)?)?" "hc_location=[^\\/|\\?|&]*(\\/|&(amp;)?)?"
], ],
"exceptions": [ "exceptions": [
@ -172,15 +170,6 @@
], ],
"redirections": [] "redirections": []
}, },
"imdb": {
"urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?imdb\\.com)\\/.*",
"completeProvider": false,
"rules": [
"ref_=[^\\/|\\?|&]*(\\/|&(amp;)?)?"
],
"exceptions": [],
"redirections": []
},
"twitter": { "twitter": {
"urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?twitter\\.).*\\/.*", "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?twitter\\.).*\\/.*",
"completeProvider": false, "completeProvider": false,