<commit_before>if(Meteor.isClient) {
  /* Catch all click events and check if they should be intercepted */
  addEventListener('click', function (e) {
    /* Filter out any right clicks */
    if(e.which === 3) return
    var newUrl = shouldPrevent(e.target, location.href)
    if(!newUrl) return
    e.preventDefault()

    navigate(newUrl)
    return false
  })
}

/* navigate(url)
 * Internally move to a certain url.
 */<commit_msg>Add a todo<commit_after>if(Meteor.isClient) {
  /* Catch all click events and check if they should be intercepted */
  addEventListener('click', function (e) {
    /* Filter out any right clicks */
    if(e.which === 3) return
    // TODO: Generate the new URL first and validate it afterwards
    var newUrl = shouldPrevent(e.target, location.href)
    if(!newUrl) return
    e.preventDefault()

    navigate(newUrl)
    return false
  })
}

/* navigate(url)
 * Internally move to a certain url.
 */
{'fraction_non_alphanumeric': 0.11645299145299146, 'fraction_numerical': 0.002136752136752137, 'mean_word_length': 3.1830357142857144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '58105', 'n_tokens_mistral': 293, 'n_tokens_neox': 282, 'n_words': 92}