View overwrite_function.js
isOldGeocachingDomain = isGeocachingDomain | |
function isGeocachingDomain(url) { | |
if (isOldGeocachingDomain(url) | |
|| url == "project-gc.com" | |
|| url == "www.project-gc.com") { | |
return true; | |
} |
View stylish.geocaching.css
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("www.geocaching.com") { | |
#ctl00_ContentBody_btnSubmit { | |
position:absolute; | |
top:10px; | |
left:10px | |
} | |
} |
View update_gpx.sh
#!/bin/bash | |
#FILENAME="9897043" | |
FILENAME=$1 | |
#wget -O ${FILENAME}.gpx "http://www.geocaching.com/pocket/downloadpq.ashx?g=fba142aa-e661-4533-ad6d-3220b900241c&src=web" | |
[ -f "${FILENAME}.zip" ] && unzip "${FILENAME}.zip" | |
xsltproc ~/.local/bin/gpx2navit.xsl ${FILENAME}{,-wpts}.gpx > ${FILENAME}_nav.txt | |
cat ${FILENAME}_nav.txt | novaterm put file:///media/internal/appdata/org.webosinternals.navit/maps/cache.txt |
NewerOlder