atcoder-standings-lang

AtCoder の順位表に最多提出言語を追加します.uesugi6111 さん作のスクリプトが元ネタです.

As of 10.11.2020. See апошняя версія.

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

Аўтар
iilj
Рэйтынг
0 0 0
Версія
2020.11.10.0
Створаны
10.11.2020
Абноўлены
10.11.2020
Памер
3.6 КБ
Ліцэнзія
Н/Д
Ужываецца на

概要

AtCoder の順位表で名前の横に使用言語を AC 順に表示します. atcoder-lang の不具合修正とパフォーマンス改善を行ったものです.

元ネタ

uesugi6111 さん作の atcoder-lang が元になっています.

元ネタとの差分

  • 不具合修正
    • 他の userscript と干渉する場合があったため修正
  • パフォーマンス改善
    • Array 上の二分探索 → 最適化された Map へ置換
    • setInterval() を使用したポーリング → MutationObserver を使用した DOM 監視
    • fetch した JSON のデコードが DOM 更新ごとに走らないように修正
  • リファクタリング
    • 上述のパフォーマンス改善に伴ってコードの構造は大きく変えてあります