<commit_before><!DOCTYPE html>
<html>
<head>
	<script>
		function tokenStripper(tabId, changeInfo, tab) {
			if (tab.url.indexOf('utm_') > -1) {
				var stripped = tab.url.replace(
					/([\?\&]utm_(source|medium|campaign|content)=.+)/ig,
					'');
				chrome.tabs.update(tab.id, {url: stripped});
			}
		};

		chrome.tabs.onUpdated.addListener(tokenStripper);
	</script>
</head>
</html><commit_msg>Don't strip values after #'s in URLs.<commit_after><!DOCTYPE html>
<html>
<head>
	<script>
		function tokenStripper(tabId, changeInfo, tab) {
			if (tab.url.indexOf('utm_') > -1) {
				var stripped = tab.url.replace(
					/([\?\&]utm_(source|medium|campaign|content)=[^&#]+)/ig,
					'');
				chrome.tabs.update(tab.id, {url: stripped});
			}
		};

		chrome.tabs.onUpdated.addListener(tokenStripper);
	</script>
</head>
</html>
{'fraction_non_alphanumeric': 0.2106537530266344, 'fraction_numerical': 0.002421307506053269, 'mean_word_length': 3.893491124260355, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '6293860', 'n_tokens_mistral': 367, 'n_tokens_neox': 314, 'n_words': 51}