<commit_before>(function () {
	var attachment = document.getElementsByTagName('body')[0].outerHTML;

	document.body = document.createElement('body');
	document.body.style.margin = 0;
	document.body.style.padding = 0;

	var xeit = document.createElement('iframe');
	xeit.setAttribute('id', 'xeit');
	xeit.setAttribute('src', 'file:///Users/tomyun/Dropbox/SMIME/xeit/bootstrap/xeit.html');
	xeit.style.width = '100%';
	xeit.style.height = '100%';
	xeit.style.border = 0;
	document.body.appendChild(xeit);

	window.addEventListener('message', function (e) {
		xeit.contentWindow.postMessage(attachment, '*');
	}, false);
})();
<commit_msg>이미 실행중이면 무시하<commit_after>(function () {
	var xeit = document.getElementById('xeit');
	if (xeit) {
		return;
	}

	var attachment = document.getElementsByTagName('body')[0].outerHTML;

	document.body = document.createElement('body');
	document.body.style.margin = 0;
	document.body.style.padding = 0;

	xeit = document.createElement('iframe');
	xeit.setAttribute('id', 'xeit');
	xeit.setAttribute('src', 'file:///Users/tomyun/Dropbox/SMIME/xeit/bootstrap/xeit.html');
	xeit.style.width = '100%';
	xeit.style.height = '100%';
	xeit.style.border = 0;
	document.body.appendChild(xeit);

	window.addEventListener('message', function (e) {
		xeit.contentWindow.postMessage(attachment, '*');
	}, false);
})();

{'fraction_non_alphanumeric': 0.1882001493651979, 'fraction_numerical': 0.014936519790888723, 'mean_word_length': 5.4423076923076925, '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': '1413789', 'n_tokens_mistral': 497, 'n_tokens_neox': 478, 'n_words': 65}