// ==UserScript== // @name CacheTour // @namespace de.rocka84.cachetour // @version 0.1.7 // @author Rocka84 // @description Collect Geocaches from geocaching.com and download them as single GPX file. // @run-at document-end // @icon https://github.com/Rocka84/CacheTour/raw/master/dist/icon.png // @include http*://www.geocaching.com/* // @exclude https://www.geocaching.com/articles // @exclude https://www.geocaching.com/about // @exclude https://www.geocaching.com/login // @grant GM_getValue // @grant GM_setValue // @grant GM_deleteValue // @grant GM_addStyle // @require https://greasyfork.org/scripts/23570-filesaver-js/code/FileSaverjs.js?version=149663 // @require https://code.jquery.com/jquery-1.8.3.min.js // @downloadURL https://update.greasyfork.icu/scripts/23571/CacheTour.user.js // @updateURL https://update.greasyfork.icu/scripts/23571/CacheTour.meta.js // ==/UserScript== var console = unsafeWindow.console; //for greasemonkey (function(){ "use strict"; var modules = [], settings, styles = [], tours = [], current_tour = 0, locales = [], locale; function initDependencies() { $('').appendTo(document.body); $('