AtCoder罵倒スクリプト

AC、WAのメッセージが変わります。ドM向けです

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

// ==UserScript==
// @name         AtCoder罵倒スクリプト
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  AC、WAのメッセージが変わります。ドM向けです
// @author       変態
// @grant        none
// @match        https://atcoder.jp/contests/*/submissions*
// @license MIT
// ==/UserScript==


const walist = [
    "バ~カ <span style='color: #F00;'>❤❤❤</span>",
    "あたまわる~い <span style='color: #F00;'>❤❤❤</span>",
    "解けないの~? <span style='color: #F00;'>❤❤❤</span>",
    "wwwwwwwwwa",
    "もしかしてわからないんでちゅか~ <span style='color: #F00;'>❤❤❤</span>",
];

const aclist = [
    "たまにはやるやん",
    "まぐれだろ",
    "本当はwaで罵倒されたいんだろ?ドMが",
    "あんま調子乗んなよ",
];

(function () {
    document.querySelectorAll('[data-original-title="不正解"]').forEach(element => {
        element.innerHTML = walist[Math.floor(Math.random()*walist.length)];
    });
    document.querySelectorAll('[data-original-title="正解"]').forEach(element => {
        element.innerHTML = aclist[Math.floor(Math.random()*aclist.length)];
    });
})();