GC Stats Banner Library

This library provides the core functionality to add a stats badge onto profile and cache pages on geocaching.com.

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.gf.qytechs.cn/scripts/389508/880219/GC%20Stats%20Banner%20Library.js

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Cryo99
版本
1.0.2
创建于
2019-08-28
更新于
2020-12-13
大小
12.8 KB
许可证
GPL version 3 or any later version

GCStatsBannerLib

A userscript library that provides core functionality for cache series statistics banners on geocaching.com.

The stats banner was originally conceived and implemented by BaSHful for sadexploration's Church Micro Series, a hugely popular series of caches covering the entire UK, with a few in other countries as well.

In order for the library to function, the cache series must have a means of serving data to the banner. The library currently understands the series of web sites designed by Chris ~ AKA Bus.Stop, based on that provided for the SideTracked series of caches.

Sites also exist for:

These sites provide URLs which serve the data and images which comprise the banner. This library uses these services to add the banners to the appropriate pages on geacaching.com:

  • the specific cache pages for each series
  • your user dashboard
  • the About tab of your user profile

Both the new and old page styles are supported.

The Future

I would love to see more series able to take advantage of this. There are quite a few candidate series but work will be required in order to create the service which provides the data and images, whatever method is used.

The Village Hall Series now has a banner graphic but its use is entirely manual on the part of the cacher. I'd like to see whether it's possible to automate the process of determining a cacher's level and displaying the graphic.

Version History

Version 1.0.2

  • Fixed a bug saving prefs in the options dialogue.

Version 1.0.1

  • Fixed a bug in the options dialogue.
  • Restored the options dialogue button text colour to black.

Version 1.0.0

  • Initial release.

Versions 0.0.1 - 0.0.23

  • Development versions.
  • Added the new account page.
    • Much work to develop and debug the collapsible widget which hosts the banners and debug the loading issues.
    • More work trying and debugging asynchronous loading.