AtCoder Traffic Light

AtCoderの問題のページから直接解説のページに行くことができます。

Version vom 13.01.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
soraiemame
Bewertungen
0 0 0
Version
1.0
Erstellt am
13.01.2021
Letzte Aktualisierung
13.01.2021
Größe
3 KB
Lizenz
n/a
Wird angewandt auf

AtCoderの問題ページで、解説ページに直接行けるようにします。
解説ボタンの色で読み込み具合を表示します。

  • 解説ボタンがの時 → 解説がまだ読み込まれていません。
  • 解説ボタンが色の時 → 全体解説があります。
  • 解説ボタンがの時 → この問題の解説があります。

ただし、問題に解説が一切存在しないときはボタンに解説無しと表示されます。
userscriptの15~23行目の以下の部分を直すことで解説ボタンの色を変更できます。

/* ユーザー設定項目 */

const color = {
    "green":"#2cf44c",    //緑
    "yellow":"#fff25e",   //黄色
    "red":"#ff5757"       //赤
};

/* 設定項目終わり */