From 2eb315f5c4d6ac72ed22c2324fb7cc1bc2fb302a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 20 Dec 2021 14:32:52 +0100 Subject: [PATCH] utm-filter.lua: add Facebook to the filter --- NEWS | 2 ++ plugins/xC/utm-filter.lua | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index d9329c5..1898ff9 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,8 @@ * xC: extended editline's autocomplete to show all the options + * utm-filter.lua: added Facebook's tracking to the filter + 1.4.0 (2021-10-06) "Call Me Scruffy Scruffington" diff --git a/plugins/xC/utm-filter.lua b/plugins/xC/utm-filter.lua index 82c4522..bbf0dd9 100644 --- a/plugins/xC/utm-filter.lua +++ b/plugins/xC/utm-filter.lua @@ -1,7 +1,7 @@ -- --- utm-filter.lua: filter out Google Analytics bullshit from URLs +-- utm-filter.lua: filter out Google Analytics bullshit etc. from URLs -- --- Copyright (c) 2015, Přemysl Eric Janouch +-- Copyright (c) 2015 - 2021, Přemysl Eric Janouch -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted. @@ -18,6 +18,7 @@ -- A list of useless URL parameters that don't affect page function local banned = { gclid = 1, + fbclid = 1, utm_source = 1, utm_medium = 1,