Chess.com Custom Pieces

A simple JavaScript project where it changes the pieces of chess.com with anything you want!

当前为 2022-03-22 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
SkidFace
评分
0 0 0
版本
1.5
创建于
2022-03-21
更新于
2022-03-22
大小
1.9 KB
许可证
MIT
适用于

What on earth is this?

This is a simple script I wrote to modify Chess pieces on https://chess.com . It allows you to easily replace every piece, both white and black, with any image of your choosing.

How do I add this?

To install this, simply press the green Install this script button. Select Tampermonkey. Install that, and you should be good to go!

How to use your own images:

To use and modify this script to replace the images, simply replace the inside of the "url()" component of that const with a link to the image.
For example, if I wanted to change the White King piece to an UwU face, you would change line 34 to:

const whiteKing = "url(https://avaazdo.s3.amazonaws.com/original_5ccdb9b8604f2.jpg)"

How to remove this:

If you want to remove this userscript, either uninstall Tampermonkey or disable the script.

Have fun!


Code by SkidFace