<commit_before>// ==UserScript==
// @name         m.io packet analyzer
// @version      0.0.1
// @description  Captures incoming and outgoing traffic between the Moomoo.io game server. 
// @author       The m.io project
// @match        http://moomoo.io/*
// @grant        GM_xmlhttpRequest
// @run-at       document-start
// ==/UserScript==

(() => {
	window.stop();
	const OUT = 'https://github.com/wwwwwwwwwwwwwwwwwwwwwwwwwwwwww/m.io/blob/master/packetAnalyzer/sniff.js';
	const SCRIPT_OUT = '<script src="' + OUT + '"></script>\n';
	GM_xmlhttpRequest({
		method: 'GET',
		url: 'http://moomoo.io/',
		onload: e => {
			document.open();
			document.write(SCRIPT_OUT + doc);
			document.close();
		}
	});<commit_msg>Change doc to responseText<commit_after>// ==UserScript==
// @name         m.io packet analyzer
// @version      0.0.1
// @description  Captures incoming and outgoing traffic between the Moomoo.io game server. 
// @author       The m.io project
// @match        http://moomoo.io/*
// @grant        GM_xmlhttpRequest
// @run-at       document-start
// ==/UserScript==

(() => {
	window.stop();
	const OUT = 'https://github.com/wwwwwwwwwwwwwwwwwwwwwwwwwwwwww/m.io/blob/master/packetAnalyzer/sniff.js';
	const SCRIPT_OUT = '<script src="' + OUT + '"></script>\n';
	GM_xmlhttpRequest({
		method: 'GET',
		url: 'http://moomoo.io/',
		onload: e => {
			document.open();
			document.write(SCRIPT_OUT + e.responseText);
			document.close();
		}
	});
{'fraction_non_alphanumeric': 0.17901234567901234, 'fraction_numerical': 0.00411522633744856, 'mean_word_length': 2.870026525198939, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 14, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 2, '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': '4309339', 'n_tokens_mistral': 542, 'n_tokens_neox': 507, 'n_words': 105}