aboutsummaryrefslogtreecommitdiffstats
path: root/send2cgeo
diff options
context:
space:
mode:
authorBestHafr <besthafr@googlemail.com>2012-02-16 22:11:15 +0100
committerBestHafr <besthafr@googlemail.com>2012-02-16 22:11:15 +0100
commit36eeb54c1e5abf95b92d64a3d11bca21ff5498dd (patch)
tree2124ee9b17a982ad66793d58307c0b3d37f11187 /send2cgeo
parent65428e049813822482b02670cbd2d85a2d76490c (diff)
downloadcgeo-36eeb54c1e5abf95b92d64a3d11bca21ff5498dd.zip
cgeo-36eeb54c1e5abf95b92d64a3d11bca21ff5498dd.tar.gz
cgeo-36eeb54c1e5abf95b92d64a3d11bca21ff5498dd.tar.bz2
Updated send2cgeo.user.js to adapt the map changes done by Groundspeak on 2012-02-14.
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
{