niksite/url-normalize

Support for the "remove tracking parameters" feature

Opened this issue · 0 comments

Add an optional flag, enabled by default, to remove tracking parameters. Implement a whitelist of parameters for the most popular sites, such as:

[
  {
    url: "google.com",
    allowParams: ["q", "ie"]
  },
  {
    url: "baidu.com",
    allowParams: ["wd", "ie"]
  },
  {
    url: "bing.com",
    allowParams: ["q"]
  },
  {
    url: "youtube.com",
    allowParams: ["v", "search_query"]
  }
]