utm-filter.lua: add Facebook to the filter

This commit is contained in:
Přemysl Eric Janouch 2021-12-20 14:32:52 +01:00
parent 851c2ee548
commit 2eb315f5c4
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 5 additions and 2 deletions

2
NEWS
View File

@ -10,6 +10,8 @@
* xC: extended editline's autocomplete to show all the options * 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" 1.4.0 (2021-10-06) "Call Me Scruffy Scruffington"

View File

@ -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 -- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted. -- purpose with or without fee is hereby granted.
@ -18,6 +18,7 @@
-- A list of useless URL parameters that don't affect page function -- A list of useless URL parameters that don't affect page function
local banned = { local banned = {
gclid = 1, gclid = 1,
fbclid = 1,
utm_source = 1, utm_source = 1,
utm_medium = 1, utm_medium = 1,