rational-mod-converter-userjs

RationalModConverter の userjs 版です.Mod をとる問題の問題文・サンプルに含まれる大きな値を,有理数に変換して横に表示します.

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 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
Усяго ўсталяванняў
116
Рэйтынг
0 0 0
Версія
2022.6.0
Створаны
05.05.2021
Абноўлены
04.06.2022
Памер
4.5 КБ
Ліцэнзія
MIT
Ужываецца на

概要

AtCoder/yukicoder の Mod をとる問題の問題文・サンプルに含まれる大きな値を,有理数に変換して横に表示します.

catupper/RationalModConverter の userscript 版です.機能的にはほぼ同一ですが,中身はほぼ別モノです.

機能

  • 機能はほぼ本家の catupper/RationalModConverter に準じます.
  • ただし,以下の点で異なります.
    • AtCoder と yukicoder 上で動作します.
    • できるだけ DOM を破壊しないように書き換え操作を行います.
    • 本家の場合,画像タグ内の属性値を破壊的に変更してしまう場合がありましたが,これを回避します
    • 本家の場合,MathJax 処理中の Element に対して innerHTML を上書きする挙動のため,MathJax に干渉してしまいますが,これを回避します.