Hide Solved Problems on JOI Difficulty Table

https://joi.goodbaton.com/でACした問題を非表示にできる

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

// ==UserScript==
// @name         Hide Solved Problems on JOI Difficulty Table
// @version      1.0
// @description  https://joi.goodbaton.com/でACした問題を非表示にできる
// @author       euglenese
// @match        https://joi.goodbaton.com/*
// @namespace https://greasyfork.org/users/201019
// ==/UserScript==

$("#btn").after('  <button id="ac_shita_problem_wo_hide" size="20" type="button">ACした問題を隠す</button>');
var ac_shita_problem_wo_hide_shiteiruka = 0;
$("#ac_shita_problem_wo_hide").click(function(){
    if(!ac_shita_problem_wo_hide_shiteiruka){
        $("#ac_shita_problem_wo_hide").text("ACした問題を表示する");
    }else{
        $("#ac_shita_problem_wo_hide").text("ACした問題を隠す");
    }
    $(".ac-none").parent().toggle();
    ac_shita_problem_wo_hide_shiteiruka ^= 1;
});