GC Stats Banner Library

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

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/389508/880219/GC%20Stats%20Banner%20Library.js

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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.