Opponent's Color Script

change color of opponent usernames

作者
Jstris Customization Database
今日安裝
0
安裝總數
21
評價
0 0 0
版本
0.1
建立日期
2019-06-11
更新日期
2019-06-11
尺寸
550 位元組
授權條款
未知
腳本執行於

■ .slot span a {color:red;} ← this section changes the color of opponent's names that are logged into an account (users)
■ .slot span {color:green;} ← this section changes the color of opponent's names that are not logged in (guests)
■ To change the color of only one of the two types of opponents (users, guests), simply remove the section of the type you don't want to change.
- For example, to change only the color of users, use this: customStyle2.innerHTML='.slot span a {color:red;}';
- And to change only the color of guests, use this: customStyle2.innerHTML='.slot span {color:green;}';
■ If you want a specific color, replace "red" or "green" with "rgba(255, 106, 202, 100)"
■ Note: this code uses customStyle2 instead of simply customStyle in case of a collision, for example with this code removing opponent's field grid https://pastebin.com/raw/AC9qnnEb . In case customStyle2 also collides with another customStyle2 you may already have, simply change to customStyle3, or customStyle4, etc. Just remember to change all three instances of customStyle2 in the code.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址