mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-09-15 08:20:18 +03:00
Merge pull request 'Update list of tracking parameters' (#1275) from uRDAlaqjNb/Fedilab:update-tracking-parameters into develop
Reviewed-on: https://codeberg.org/tom79/Fedilab/pulls/1275
This commit is contained in:
commit
d9288de31b
1 changed files with 72 additions and 21 deletions
|
@ -397,34 +397,85 @@ public class Helper {
|
||||||
public static final int NOTIFICATION_USER_NOTIF = 411;
|
public static final int NOTIFICATION_USER_NOTIF = 411;
|
||||||
public static final int NOTIFICATION_THEMING = 412;
|
public static final int NOTIFICATION_THEMING = 412;
|
||||||
/*
|
/*
|
||||||
* List from ClearUrls
|
* Sources for the list of tracking parameters:
|
||||||
* https://gitlab.com/KevinRoebert/ClearUrls/blob/master/data/data.min.json#L106
|
* - Firefox: https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/query-stripping/records
|
||||||
|
* - Brave: https://github.com/brave/brave-core/blob/master/components/query_filter/utils.cc
|
||||||
*/
|
*/
|
||||||
private static final String[] UTM_PARAMS = {
|
private static final String[] UTM_PARAMS = {
|
||||||
"utm_\\w+",
|
"utm_\\w+",
|
||||||
"ga_source",
|
"ref_\\w+",
|
||||||
"ga_medium",
|
"__hsfp",
|
||||||
"ga_term",
|
"__hssc",
|
||||||
"ga_content",
|
"__hstc",
|
||||||
"ga_campaign",
|
"__s",
|
||||||
"ga_place",
|
"_bhlid",
|
||||||
"yclid",
|
"_branch_match_id",
|
||||||
|
"_branch_referrer",
|
||||||
|
"_gl",
|
||||||
|
"_hsenc",
|
||||||
|
"_kx",
|
||||||
"_openstat",
|
"_openstat",
|
||||||
|
"at_recipient_id",
|
||||||
|
"at_recipient_list",
|
||||||
|
"bbeml",
|
||||||
|
"bsft_clkid",
|
||||||
|
"bsft_uid",
|
||||||
|
"ck_subscriber_id",
|
||||||
|
"dclid",
|
||||||
|
"et_rid",
|
||||||
"fb_action_ids",
|
"fb_action_ids",
|
||||||
"fb_action_types",
|
"fb_comment_id",
|
||||||
"fb_source",
|
|
||||||
"fb_ref",
|
|
||||||
"fbclid",
|
"fbclid",
|
||||||
"action_object_map",
|
"gbraid",
|
||||||
"action_type_map",
|
"gclid",
|
||||||
"action_ref_map",
|
"guce_referrer",
|
||||||
"gs_l",
|
"guce_referrer_sig",
|
||||||
|
"h_sid",
|
||||||
|
"h_slt",
|
||||||
|
"hsCtaTracking",
|
||||||
|
"hsctatracking",
|
||||||
|
"igsh",
|
||||||
|
"igshid",
|
||||||
|
"irclickid",
|
||||||
|
"mc_eid",
|
||||||
"mkt_tok",
|
"mkt_tok",
|
||||||
"hmb_campaign",
|
"ml_subscriber",
|
||||||
"hmb_medium",
|
"ml_subscriber_hash",
|
||||||
"hmb_source",
|
"msclkid",
|
||||||
"[\\?|&]ref[\\_]?"
|
"mtm_cid",
|
||||||
|
"oft_c",
|
||||||
|
"oft_ck",
|
||||||
|
"oft_d",
|
||||||
|
"oft_id",
|
||||||
|
"oft_ids",
|
||||||
|
"oft_k",
|
||||||
|
"oft_lk",
|
||||||
|
"oft_sk",
|
||||||
|
"oly_anon_id",
|
||||||
|
"oly_enc_id",
|
||||||
|
"pk_cid",
|
||||||
|
"rb_clickid",
|
||||||
|
"s_cid",
|
||||||
|
"sc_customer",
|
||||||
|
"sc_eh",
|
||||||
|
"sc_uid",
|
||||||
|
"si",
|
||||||
|
"sms_click",
|
||||||
|
"sms_source",
|
||||||
|
"sms_uph",
|
||||||
|
"srsltid",
|
||||||
|
"ss_email_id",
|
||||||
|
"ttclid",
|
||||||
|
"twclid",
|
||||||
|
"unicorn_click_id",
|
||||||
|
"vero_conv",
|
||||||
|
"vero_id",
|
||||||
|
"vgo_ee",
|
||||||
|
"wbraid",
|
||||||
|
"wickedid",
|
||||||
|
"yclid",
|
||||||
|
"ymclid",
|
||||||
|
"ysclid"
|
||||||
};
|
};
|
||||||
public static int counter = 1;
|
public static int counter = 1;
|
||||||
private static int notificationId = 1;
|
private static int notificationId = 1;
|
||||||
|
|
Loading…
Reference in a new issue