aboutsummaryrefslogtreecommitdiffstats
path: root/send2cgeo
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-10-25 18:02:37 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-10-25 18:02:37 +0200
commit869a2f4c995bab5285fc4ef6531c9b7e5d18becf (patch)
treec8497c5a39d9aa2d681abb158282a767611bc6f0 /send2cgeo
parente599bd29aa91ab3ed5acbc17440da299e1bd3700 (diff)
downloadcgeo-869a2f4c995bab5285fc4ef6531c9b7e5d18becf.zip
cgeo-869a2f4c995bab5285fc4ef6531c9b7e5d18becf.tar.gz
cgeo-869a2f4c995bab5285fc4ef6531c9b7e5d18becf.tar.bz2
minor cleanup of send2cgeo script
* more readable name * added icon * added missing semicolons
Diffstat (limited to 'send2cgeo')
-rw-r--r--send2cgeo/send2cgeo.user.js9
1 files changed, 5 insertions, 4 deletions
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