<commit_before>'use strict';

const KNOWN_REDIRECTS = [
  {
    name: 'Google Search Results',
    targetParam: 'url',
    patterns: [
      '*://www.google.com/url?'
    ],
    // Google uses "ping" method sometimes.
    types: ["main_frame", "ping"]
  },
  {
    // Gmail wraps links in e-mails to pass you through their servers
    name: 'Gmail Link Wrappers',
    targetParam: 'q',
    patterns: [
      '*://www.google.com/url?'
    ],
    // I think that for Gmail, "main_frame" is enough.
    types: ["main_frame"]
  },
  {
    name: 'RedirectingAt',
    targetParam: 'url',
    patterns: [
      '*://*.redirectingat.com/?',
    ],
    types: ["main_frame"]
  },
  {
    name: 'Amazon Affiliate',
    targetParam: 'location',
    patterns: [
      '*://*.amazon.ca/gp/redirect.html?'
    ],
    types: ["main_frame"]
  },
  {
    name: 'Rakuten Marketing',
    targetParam: 'murl',
    patterns: [
      '*://click.linksynergy.com/deeplink?'
    ],
    types: ["main_frame"]
  },
  {
    name: 'ValueClick',
    targetParam: 'url',
    patterns: [
      '*://www.dpbolvw.net/*?',
      '*://www.tkqlhce.com/*?'
    ],<commit_msg>Skip redirects from facebook.com & messenger.com<commit_after>'use strict';

const KNOWN_REDIRECTS = [
  {
    name: 'Google Search Results',
    targetParam: 'url',
    patterns: [
      '*://www.google.com/url?'
    ],
    // Google uses "ping" method sometimes.
    types: ["main_frame", "ping"]
  },
  {
    // Gmail wraps links in e-mails to pass you through their servers
    name: 'Gmail Link Wrappers',
    targetParam: 'q',
    patterns: [
      '*://www.google.com/url?'
    ],
    // I think that for Gmail, "main_frame" is enough.
    types: ["main_frame"]
  },
  {
    name: 'RedirectingAt',
    targetParam: 'url',
    patterns: [
      '*://*.redirectingat.com/?',
    ],
    types: ["main_frame"]
  },
  {
    name: 'Facebook',
    targetParam: 'u',
    patterns: [
        '*://l.facebook.com/l.php?',
        '*://l.messenger.com/l.php?'
    ],
    types: ["main_frame"]
  },
  {
    name: 'Amazon Affiliate',
    targetParam: 'location',
    patterns: [
      '*://*.amazon.ca/gp/redirect.html?'
    ],
    types: ["main_frame"]
  },
  {
    name: 'Rakuten Marketing',
    targetParam: 'murl',
    patterns: [
      '*://click.linksynergy.com/deeplink?'
    ],
    types: ["main_frame"]
  },
  {
    name: 'ValueClick',
    targetParam: 'url',
    patterns: [
      '*://www.dpbolvw.net/*?',
      '*://www.tkqlhce.com/*?'
    ],
{'fraction_non_alphanumeric': 0.19235412474849095, 'fraction_numerical': 0.0, 'mean_word_length': 2.2327698309492847, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1512681', 'n_tokens_mistral': 909, 'n_tokens_neox': 911, 'n_words': 177}