Chess.com Custom Pieces

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

目前為 2022-03-21 提交的版本,檢視 最新版本

作者
SkidFace
評價
0 0 0
版本
1.02
建立日期
2022-03-21
更新日期
2022-03-21
尺寸
2.0 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 to add this to Chome:

First off, install Tampermonkey to Google Chrome. Next, open the extension and press Create a new script... . After that, paste my code into that and press CTRL+S to save it.


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 31 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