AtCoder Traffic Light

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

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ả
soraiemame
Cài đặt hàng ngày
0
Số lần cài đặt
155
Đánh giá
0 0 0
Phiên bản
1.0
Đã tạo
13-01-2021
Đã cập nhật
13-01-2021
Kích thước
3 KB
Giấy phép
N/A
Áp dụng cho

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

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

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

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

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

/* 設定項目終わり */