Merge pull request 'Remove Twitter s/t tracking parameters' (#78) from gwymor/libredirect:strip-twitter-tracker-params into master
Reviewed-on: https://codeberg.org/LibRedirect/libredirect/pulls/78
This commit is contained in:
commit
594b8e571f
|
@ -132,6 +132,8 @@ function redirect(url, type, initiator, forceRedirection) {
|
|||
|
||||
search.delete("ref_src")
|
||||
search.delete("ref_url")
|
||||
search.delete("s") // type of device that shared the link
|
||||
search.delete("t") // some sort of tracking ID
|
||||
|
||||
search = search.toString()
|
||||
if (search !== "") search = `?${search}`
|
||||
|
|
Loading…
Reference in New Issue