aboutsummaryrefslogtreecommitdiffstats
path: root/send2cgeo
diff options
context:
space:
mode:
Diffstat (limited to 'send2cgeo')
-rw-r--r--send2cgeo/send2cgeo.user.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/send2cgeo/send2cgeo.user.js b/send2cgeo/send2cgeo.user.js
index b09eceb..2ec327e 100644
--- a/send2cgeo/send2cgeo.user.js
+++ b/send2cgeo/send2cgeo.user.js
@@ -3,8 +3,8 @@
// @namespace http://send2.cgeo.org/
// @description Add Send to c:geo button to geocaching.com
// @include http://www.geocaching.com/seek/cache_details*
-// @include http://www.geocaching.com/map/beta*
-// @version 0.24
+// @include http://www.geocaching.com/map/default*
+// @version 0.25
// ==/UserScript==
// Inserts javascript that will be called by the s2cgeo button
@@ -20,13 +20,13 @@ var map = document.getElementById('cacheDetailsTemplate');
if( map != null )
{
var html = 'Log Visit</span></a> <br /> '
- + '<a href="javascript:s2cgeo(\'${cache.gc}\');" '
+ + '<a class="lnk ui-block-b" href="javascript:s2cgeo(\'{{=gc}}\');" '
+ 'class="lnk">'
+ '<img src="/images/sendtogps/sendtogps_icon.png" '
+ 'align="absmiddle" border="0"> '
- + '<span>Send to c:geo</span></a>';
+ + '<span>Send to c:geo</span>';
- map.innerHTML = map.innerHTML.replace('Log Visit</span></a>', html);
+ map.innerHTML = map.innerHTML.replace('Log Visit</span>', html);
}
else
{