View Issue Details

Category
SSPBT:その他
SeveritytrivialReproducibilityalways 
Status closed 
Summary0000620: New image for fixing pages in dark mode
DescriptionMy browser automatically converts the page to a darker color, and then I'm noticing something slightly off in the darker view.
Hopefully these images will fix the problem!
TagsNo tags attached.
Attach Tags
Attached Files
Downloads.7z (18,010 bytes)
图片.png (139,686 bytes)   
图片.png (139,686 bytes)   

Activities

guest

2024-01-14 21:53

reporter   ~0001471

also that spp ver check code with jsstp 3.1.0.1:

async function checkSSPVersion() {
    try {
        // jsstp.available() の結果をチェックする
        if (!await jsstp.available()) {
            document.querySelector(".ssp-current-version").textContent = '(SSPが起動していません)';
            return;
        }

        const currentVersion = await jsstp.GetShortVersion();
        const response = await fetch("/archive/version.json");
        const data = await response.json();

        let message = '';
        if (currentVersion === "") {
            message = '(SSPが起動していません)';
        } else if (currentVersion === data.ssp.full.version) {
            message = '更新不要';
        } else {
            // バージョン比較ロジックを実装する
            // ここでは簡略化のため、単純な文字列比較を行っています。
            message = currentVersion < data.ssp.full.version ? '更新あり' : '更新不要';
        }

        document.querySelector(".ssp-current-version").textContent = message;
    } catch (error) {
        document.querySelector(".ssp-current-version").textContent = '(チェックエラー)';
    }
}

// ページ読み込み時にバージョンチェックを行う
document.addEventListener("DOMContentLoaded", checkSSPVersion);

ponapalt

2024-03-02 19:51

administrator   ~0001483

closed

Issue History

Date Modified Username Field Change
2023-12-31 21:38 guest New Issue
2023-12-31 21:38 guest File Added: Downloads.7z
2023-12-31 21:38 guest File Added: 图片.png
2024-01-14 21:53 guest Note Added: 0001471
2024-03-02 19:51 ponapalt Assigned To => ponapalt
2024-03-02 19:51 ponapalt Status new => closed
2024-03-02 19:51 ponapalt Resolution open => fixed
2024-03-02 19:51 ponapalt Note Added: 0001483