AtCoderCharacterColorizer

Colorize kanji meaning color in statements

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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

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

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Tác giả
satanic0258
Cài đặt hàng ngày
0
Số lần cài đặt
122
Đánh giá
1 0 0
Phiên bản
0.1.3
Đã tạo
24-07-2021
Đã cập nhật
31-07-2021
Kích thước
3 KB
Giấy phép
MIT License
Áp dụng cho

AtCoderの問題文中における'赤'や'青'などの色を意味する漢字を色付けします.
基本的に背景色を変更しますが,白のみ「字自体を白,縁取りを黒」としています.
(スクリーンショットを参考)

複数の問題で正しく表示されることを確認しましたが,以下の問題が生じるかもしれません.

  • 表示が乱れてしまう
  • 表示が遅れてしまう

また,'水'や'桃'など色を意味する文脈ではないところで色付けしてしまうこともあります.
細かい調整はコード内のreplaceを列挙している部分を弄ることで可能なので,色々試してみてください.

不具合やその他ご意見・ご要望はsatanic0258 - Twitterへいただけると幸いです.

本スクリプトはMITライセンスの元で公開しています.


スクリーンショットの問題文引用元: