<commit_before>// ==UserScript==
// @name            Unpublished-Geocaches
// @namespace       https://www.geocaching.com
// @description     Fetch unpublished geocaches
// @include         https://www.geocaching.com/geocache/*
// @updateURL       https://unpublished.vaguelibre.net/unpublished.user.js
// @version         1.1.1
// @grant           GM_xmlhttpRequest
// ==/UserScript==


var d = document.getElementById('Download');
var m = d.children;
var last = m.item(m.length - 1);

var html = '<br /><input type="button" name="SendToUnpublishedGeocaches" value="Send to unpublished geocaches" id="SendToUnpublishedGeocaches" />';
last.innerHTML = last.innerHTML + html;

var button = document.getElementById("SendToUnpublishedGeocaches");

button.addEventListener('click', function() {
    GM_xmlhttpRequest({
    method: "POST",
    url: "https://unpublished.vaguelibre.net/gm.php",<commit_msg>Added author<commit_after>// ==UserScript==
// @name            Unpublished-Geocaches
// @namespace       https://www.geocaching.com
// @author          Surfoo
// @description     Fetch unpublished geocaches
// @include         https://www.geocaching.com/geocache/*
// @updateURL       https://unpublished.vaguelibre.net/unpublished.user.js
// @version         1.1.1
// @grant           GM_xmlhttpRequest
// ==/UserScript==


var d = document.getElementById('Download');
var m = d.children;
var last = m.item(m.length - 1);

var html = '<br /><input type="button" name="SendToUnpublishedGeocaches" value="Send to unpublished geocaches" id="SendToUnpublishedGeocaches" />';
last.innerHTML = last.innerHTML + html;

var button = document.getElementById("SendToUnpublishedGeocaches");

button.addEventListener('click', function() {
    GM_xmlhttpRequest({
    method: "POST",
    url: "https://unpublished.vaguelibre.net/gm.php",
{'fraction_non_alphanumeric': 0.15169769989047097, 'fraction_numerical': 0.004381161007667032, 'mean_word_length': 3.4779411764705883, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7356623', 'n_tokens_mistral': 569, 'n_tokens_neox': 552, 'n_words': 108}