Geocaching Bag-o-Tricks

By Lil Devil on January 12, 2010 – 10:54pm

This script makes several small but useful improvements to the Geocaching.com website.

Note: If you came here because Firefox alerted you that a new version of this script is available, then perform the following steps. If you are installing this script for the first time, just click to install the script.

In order to take advantage of all the new features, you need to uninstall any previous version before installing version 2.2. I apologize for this complexity. Unfortunately it is necessary because Greasemonkey does not update the meta data when updating scripts the usual way.

  1. Go to Tools >> Greasemonkey >> Manage User Scripts...
  2. Find "GC Bag-o-Tricks" in the list on the left, and click on it to highlight it.
  3. At the bottom of the dialog, make sure "Also uninstall associated preferences" is not checked.
  4. Click on the "Uninstall" button.
  5. Click on the "Close" button.
  6. Click to install the latest version.

Install Install or update the script.

What This Script Does

  • On all pages
    • Change all text input boxes to 98% of the window width. They will automatically resize as the window size is changed.

  • email linkOn cache pages
    • Add an "email" link next to the owner profile link. When clicking this link, an appropriate subject line will be added to the message.
    • Optionally hide the disclaimer - it still applies, it just makes more room on the page.
    • Optionally move the map from the right-hand column to the coordinates box at the top. This utilizes screen space better on large displays.

  • On travel bug pages
    • Add an "email" link next to the owner profile link. When clicking this link, an appropriate subject line will be added to the message.

  • Save as defaultOn the front page and the login page
    • Remember the preferred state of the "Use Cookies" checkbox.

  • On the "submit/edit a cache" page
    • Remember the preferred state of the two disclaimer boxes at the bottom.

  • On the "email a user" page
    • Remember the preferred state of the 3 checkboxes below the message.
    • If you came to this page via the "email cache owner" link on the cache or travel bug page, an appropriate subject line will be added to the message.
      email page

Monkey menuConfiguration

To configure the options on the cache page, right-click on the Greasemonkey icon in the status bar of your browser, select "User Script Commands..." then either of the two options.

To remember a default state for any of the checkboxes controlled by this script, simply check the "Save as default" checkbox below the checkbox in question.



Version History

  • 2.2 - 2010-01-12
    • Reworked to accommodate website changes.

  • 2.1 - 2009-08-30
    • Also hide the disclaimer on the print-friendly page.

  • 2.0 - 2009-08-10
    • Note: In order to take advantage of all the new features, you need to uninstall any previous version before installing this new version. Please see the instructions in the blue box above.
    • Fixed the checkbox on the login page after the website was updated.
    • Increased the width of the textareas to 98%.
    • Removed some functions that have been included directly into the website:
      • The text box width on the log entry pages are now full width for everyone.
      • The travel bug selector height is now 10 lines.
      • The travel bug name on the travel bug page can now be double-clicked to select it, without selecting a bunch of other stuff.
      • Thanks Groundspeak, for including these features for the benefit of everyone, not just those using this script.
    • Some new features:
      • Added support for login checkbox on front page.
      • All configuration is now done directly on-site instead of editing the script file.
      • When clicking one of the checkboxes that is controlled by this script, a new "Save as default" checkbox will appear. Checking it will save the default state for that option.
      • To hide the disclaimer, or move the small map, both on the cache page, you now use the "Monkey menu."

  • 1.5 - 2008-08-28
    • Fixed the "email" link on travel bug page after the website was updated.

  • 1.4 - 2008-08-13
    • Changed the way the Enlarge Textareas feature works. It now automatically resizes to 95% of window width instead of staying at a fixed width.

  • 1.3 - 2008-08-02
    • A couple of updates after the website was updated:
      • Fixed the "Move Small Map" feature.
      • Removed the code that moved the Waypoint Download buttons since all 4 are now on one line and they wrap properly.

  • 1.2 - 2007-11-01
    • A few updates after the website was updated:
      • Fixed "email" link next to owner name on both the cache page and the travel bug page.
      • Fixed default text on email page.
      • Removed code that removed the "What's this?" text, since it's no longer on the cache page anyway.
    • Some new features:
      • Added a blank line after the travel bug name so you can double-click on it to select it and not select a bunch of other stuff.
      • Move the map from the right-hand column to the right-side of the coordinates box.
      • Option to hide the disclaimer box from the cache page to reclaim the space.
      • Script will now automatically alert you if a new version of itself is available.

  • 1.1 - 2007-01-03
    • Added owner email link to the travel bug page.
    • Added code to widen the new "profile details" text box on the profile page.
    • Added @exclude rule to prevent from running on the print-friendly page.

  • 1.0 - 2005-11-07 - Initial release.

Bag-o-Tricks

LOVE your scripts but this one does not seem to be working on the TB pages. Does not "Add an 'email' link next to the owner profile link."

Crowesfeat30 (not verified) – August 27, 2008 – 9:33am

function request

I love to cache paperless but for multi caches it would be lovely to print pages.. Could you include in your script the option to:

on a print page
-> close / hide the section attributes
-> close / hide the section map
-> close / hide the section logs (because it is empty anyway if you choose simple no logs)

Would be much appreciated

dspolleke – May 20, 2009 – 5:33am

These functions already exist.

These functions already exist on the print friendly page, even without any additional scripts.

Just click on the little down arrow next to a heading and it will hide that section.

You can also drag and drop a section to be above or below other sections.

For more information, check out this Knowledgebase article.

Lil Devil – August 3, 2009 – 2:52pm