GC.com Show True Owner

By rob3k Last update Aug 9, 2011 — Installed 377 times.


Script Summary: Adds official geocaching username as title (hover text) to owner URL at top of every cache page.

Version: 1.3

License: Attribution-Noncommercial-Share Alike; http://creativecommons.org/licenses/by-nc-sa/3.0/

Summary

Adds official geocaching.com username as title (hover text) to owner URL at top of every cache page. Scare quotes used as visual cue if entered owner name and true cache owner name do not match.

Configuration

  • Display True CO - The owner name shown at the top of the cache page can be changed to the true owner name. By default this is not done, but can be enabled via a User Script Command. If this is enabled, quotes are not placed around the owner name as it is automatically changed to the true owner name.

To access the User Script Commands right click on the greasemonkey icon and choose the User Script Commands menu option.

Note: To my knowledge the User Script Command functionality is not supported in Google Chrome or Opera so default functionality will be used with those browsers. If you are comfortable modifying the user script code directly, the change to make is simple and commented.

Screenshots

Default behavior - True owner is shown as hover text along with quotes around linked name.



Default behavior w/ standard cache owner - Quotes are not displayed since true cache owner is the same as the displayed cache owner.



Display True CO enabled - True owner name is displayed as owner link. Pseudo Owner Name is displayed as hover text.



Compatibility Notes

GC.com Show True Owner should be listed below Lil Devil's Bag O Tricks script in the Manage User Scripts dialog. Access this menu by right-clicking the Greasemonkey icon and selecting 'Manage User Scripts'.

Lil' Devil's Bag O Tricks script has partially incorporated this script's functionality which is what necessitates this specific script order.

Changelog

v 1.3 - August 9, 2011
  • Simplified script and updated so it will work with current geocaching.com site.
  • Cache owner name is displayed within quotes (i.e. scare quotes) if the true owner name differs from the entered placed by name.
  • Removed incognito icon functionality in favor of the more simplified scare quotes approach.
v 1.2 - September 9, 2010
  • Fixed code so that default behavior is functional in browsers other than Firefox. Previously, the icon would not display.
  • Cleaned up code to allow easier updating of default values for non-Firefox browsers. Two lines of code require simple updates if something other than default behavior is desired.
v 1.1 - September 8, 2010
  • Fix problem where spaces in an owner name show up as "+".
  • Added call to decodeURI to decode escaped characters.
  • Added incognito icon which gives visual cue that owner name differs from caches placed by entry. Configurable via User Command.
  • Added ability to replace pseudo cache owner name with true owner name on the cache page. This is disabled by default. Configurable via User Command.
v 1.0 - September 2, 2010
  • Initial version

Acknowledgment

Copied code and several functions and modeled on Lil Devil's excellent Bag O' Tricks script. This script will work alongside the Bag O' Tricks script.