CheckScore for 2026

学部別合否判定サイトの2026年度をはやく見たい人のためのスクリプトです

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         CheckScore for 2026
// @namespace    http://tampermonkey.net/
// @version      2026-04-25
// @description  学部別合否判定サイトの2026年度をはやく見たい人のためのスクリプトです
// @author       nauclhlt
// @match        https://copynight.net/sites/CheckScore
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    const button = document.createElement('button');
    button.innerText = '書き換え';
    
    Object.assign(button.style, {
        position: 'fixed',
        top: '20px',
        left: '20px',
        zIndex: '9999',
        padding: '10px 20px',
        backgroundColor: '#007bff',
        color: 'white',
        border: 'none',
        borderRadius: '5px',
        cursor: 'pointer',
        boxShadow: '0 2px 5px rgba(0,0,0,0.3)',
        fontSize: '14px',
        fontWeight: 'bold'
    });

    button.addEventListener('click', () => {
        document.body.appendChild(button);

        const oldRikei = [487.75, 603.8,  653.45, 776.12, 942.5,  568.33, 551.23, 636.9,  648.45, 665.57, 658.61, 707.52, 633.82, 661.55];
        const newRikei = [454.00, 523.18, 555.62, 730.25, 876.62, 518.50, 512.06, 581.20, 596.32, 615.33, 602.15, 645.49, 581.15, 629.98];

        const oldBun = [510.82, 497.79, 571.08, 568.38, 552.75];
        const newBun = [530.50, 488.25, 564.66, 558.08, 555.75];

        let panel = document.getElementsByClassName("v-col-sm-8 v-col-md-6 v-col-lg-5 v-col-xl-4 v-col-12")[0];
        let ps = panel.children;
        let rikei = ps.length === 15;
        for (let i = 0; i < ps.length; i++)
        {
            if (ps[i].textContent.startsWith('('))
            {
                continue;
            }

            let text = ps[i].textContent;
            let ni = text.indexOf('に');
            let ten = text.indexOf('点');
            let de = text.indexOf('で');
            let delta = parseFloat(text.substring(ni + 1, ten));

            if (rikei)
            {
                delta += oldRikei[i - 1];
                delta -= newRikei[i - 1];
            }
            else
            {
                delta += oldBun[i - 1];
                delta -= newBun[i - 1];
            }


            delta = Math.round(delta * 100) / 100.0;
        
            let result = delta >= 0 ? '合格💮' : '不合格❌';

            let newtext = text.substring(0, ni + 1) + (delta >= 0 ? '+' : '') + delta.toString() + text.substring(ten, de + 1) + result;

            ps[i].textContent = newtext;
        }
        
        document.body.removeChild(button);
    });

    document.body.appendChild(button);
})();