Badge Borders *OLD*

Adds colorful borders to badge icons based on their difficulty

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
KongScripts
日安装量
0
总安装量
7
评分
0 0 0
版本
1.4
创建于
2016-03-06
更新于
2016-03-22
大小
30.7 KB
许可证
暂无
适用于

Original Author: Musicdemon
Original Host: http://userscripts-mirror.org/scripts/show/60378
Created: ???
Updated: 02/04/11
Total installs on original host as of 22/03/16: 2,342
Working Status: Unknown

Dev notes:



Adds colorful borders to badge icons based on their difficulty



Version: 1.4

This script replaces those boring tan borders on your badges with borders that are color-coded by difficulty.

Blue --> Easy
Medium --> Green
Red --> Hard
Impossible --> Black & Gold

You can easily swap the borders with any custom ones you desire. I've marked the place in the code you need to change in CAPS.

Changelog:
Version 1.4

Major code revamp. Much thanks to Brock Adams for [helping me fix the script](http://stackoverflow.com/questions/5518946/null-array-values-in-javascript) after it broke because of the Badge of the Day update.
Default impossible badge border changed to skeeful08's icon
Version 1.3
Fixed all badge pages affected by the major badge page change late last year
Added http://www.kongregate.com/badges* to @include
Added http://www.kongregate.com/badge_quests/* to @include
Faster - Default borders are embedded as data in the script, so no need to wait for an image-hosting server. See Kongregate thread for more details on how you can do this with custom borders.

Version 1.2
All badges will now load correctly (thanks, Ventero)

Version 1.1
Marked the place in the code you need to change border images in CAPS.
Changed @include to http://www.kongregate.com/accounts*
Border Art: Sukasai (http://www.kongregate.com/accounts/Sukasai)
Coding: Matthew Ammann, aka musicdemon (http://www.kongregate.com/accounts/musicdemon)
Ventero (http://www.kongregate.com/accounts/Ventero)
Additional Support: The Impossible Is Nothing chat room