From 869a2f4c995bab5285fc4ef6531c9b7e5d18becf Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Thu, 25 Oct 2012 18:02:37 +0200 Subject: minor cleanup of send2cgeo script * more readable name * added icon * added missing semicolons --- send2cgeo/send2cgeo.user.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'send2cgeo') diff --git a/send2cgeo/send2cgeo.user.js b/send2cgeo/send2cgeo.user.js index 2b7fc30..b309b58 100644 --- a/send2cgeo/send2cgeo.user.js +++ b/send2cgeo/send2cgeo.user.js @@ -1,9 +1,10 @@ // ==UserScript== -// @name sendToCgeo +// @name Send to c:geo // @namespace http://send2.cgeo.org/ -// @description Add Send to c:geo button to geocaching.com +// @description Add button "Send to c:geo" to geocaching.com // @include http://www.geocaching.com/seek/cache_details* // @include http://www.geocaching.com/map/* +// @icon http://send2.cgeo.org/content/images/logo.png // @updateURL http://send2.cgeo.org/send2cgeo.user.js // @version 0.26 // ==/UserScript== @@ -32,7 +33,7 @@ s.textContent = '(' + function() { // hide box after 3 seconds $(this).show().parent().delay(3000).fadeOut(); }); - } + }; // Defines the elements to insert into the page ////////////////////////////// @@ -81,7 +82,7 @@ s.textContent = '(' + function() { $('#Download p:last').append(html); } -} + ')();' +} + ')();'; // Inject Script. Can’t use jQuery yet, because the page is not // accessible from Tampermonkey -- cgit v1.1