atcoder-standings-lang

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

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
iilj
Installationen heute
0
Installationen gesamt
460
Bewertungen
0 0 0
Version
2020.11.12.0
Erstellt am
10.11.2020
Letzte Aktualisierung
12.11.2020
Größe
3,62 KB
Lizenz
n/a
Wird angewandt auf

概要

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

元ネタ

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

元ネタとの差分

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