<commit_before><commit_msg>new file: nominace.user.js<commit_after>// ==UserScript==
// @name       Nominace na cenu
// @namespace  http://pirati.cz/homo/cena
// @version    0.12
// @description  prida tlacitka nominace na cenu
// @match      https://forum.pirati.cz/*
// @require       http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
// ==/UserScript==

$(function () {
	$('.post .postbody h3 a').each(function() {
		var url = this.href;
		var button = $("<button>OCENIT</button>");
		button.click(function() {
			// TODO submit to data plugin on wiki
			alert(url);
		});
		button.css("font-size", "50%");
		button.css("font-weight", "bold");
		button.css("border", "1px solid black");
		button.css("margin-right", "4px");
		button.css("float", "right");
		button.css("background", "rgb(230,230,230)");
		button.css("color", "blue");
		button.css("border-radius", "3px");
		button.css("padding", "0px 2px");
		$(this).parent().append(button);
	});
})();

{'fraction_non_alphanumeric': 0.22727272727272727, 'fraction_numerical': 0.023760330578512397, 'mean_word_length': 3.681159420289855, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '7222007', 'n_tokens_mistral': 380, 'n_tokens_neox': 346, 'n_words': 65}