magma1447 / greasemonkey-geocaching-projectgc

Adds links and data to Geocaching.com to make it collaborate with Project-GC.com
MIT License
18 stars 14 forks source link

Suggestion: Add link to HMDB.org #159

Open bwjmackie opened 4 months ago

bwjmackie commented 4 months ago

I respectfully request consideration of this new feature.

On a cache page, between the description and the logs, is a bulleted list of nearby things to find: image I would like to add a link to HMDB.org to find nearby historical markers.

An example link would be: <li>...all nearby <a href="https://www.hmdb.org/results.asp?Search=Proximity&SearchFor=51.567933333333,10.95755&Miles=10">historical markers on HMDB.org</a></li>

Obtain the latitude and longitude from the posted coordinates (or corrected coordinates if applicable) of the geocache. This addition should be applicable to all geocache listings regardless of type.

Thank you!

GeekNJ commented 4 months ago

I don't know if this has enough universal appeal to add to the larger PGC script, but I threw together a small standalone one that I believe does what you want. Create a new script in TamperMonkey or whatever you are using and copy/paste what is in the attached file. GC_HMDB.txt

bwjmackie commented 4 months ago

Universal appeal is a pretty high bar, but I think it would get a broader fanbase if more people knew about it. Perhaps the option could be disabled by default if it is considered to not be sufficiently popular to be enabled by default? Will try out the standalone script provided. Thanks! --Edit: Works like a charm! Now if it could just be added to the core script as a toggle-able feature, that'd be superb.