AtCoderCharacterColorizer

Colorize kanji meaning color in statements

Version vom 25.07.2021. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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!)

Autor
satanic0258
Bewertungen
0 0 0
Version
0.1.1
Erstellt am
24.07.2021
Letzte Aktualisierung
25.07.2021
Größe
2,17 KB
Lizenz
MIT License
Wird angewandt auf

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

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

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

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

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

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


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