aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-12-20 14:32:52 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-12-20 14:36:41 +0100
commit2eb315f5c4d6ac72ed22c2324fb7cc1bc2fb302a (patch)
tree283c35278aecdfa660af5d1b44930ceea9e64dda
parent851c2ee548c7963cd096dc8b152ca6cbdd772e3b (diff)
downloadxK-2eb315f5c4d6ac72ed22c2324fb7cc1bc2fb302a.tar.gz
xK-2eb315f5c4d6ac72ed22c2324fb7cc1bc2fb302a.tar.xz
xK-2eb315f5c4d6ac72ed22c2324fb7cc1bc2fb302a.zip
utm-filter.lua: add Facebook to the filter
-rw-r--r--NEWS2
-rw-r--r--plugins/xC/utm-filter.lua5
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 <p@janouch.name>
+-- Copyright (c) 2015 - 2021, Přemysl Eric Janouch <p@janouch.name>
--
-- 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,