Open Mte90 opened 3 years ago
This reminds me that there are also: https://github.com/Cimbali/CleanLinks/issues/63 and https://github.com/AdguardTeam/FiltersRegistry can be referenced, and currently the tracking clean up function here is not very maintainable(no offense), could refactor the code first and look for a better way to maintain the filter list.
As https://github.com/mpchadwick/tracking-query-params-registry/blob/master/_data/params.csv is csv format, is easy to convert it into a json format that js can easily consume, my idea is that we can use some external filter list like it, and then only maintain those not existed in all external filter list(before out pull requests to those repository are accepted, or for those not acceptable, if there are some) in this project.
function here is not very maintainable(no offense)
Of course it isn't I am not a good javascript developer :-)
only maintain those not existed in all external filter list
Seems a good idea
On this list https://github.com/mpchadwick/tracking-query-params-registry/blob/master/_data/params.csv there are a lot parameters that we can strip. I don't know if it is the case to generate a json from that or pick just the most useful one, what do you think @PeterDaveHello?