AtCoder Traffic Light

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

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

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

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

Author
soraiemame
Daily installs
0
Total installs
155
Ratings
0 0 0
Version
1.0
Created
2021-01-13
Updated
2021-01-13
Size
3 KB
License
N/A
Applies to

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

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

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

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

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

/* 設定項目終わり */