2023-08-26T04:29:41.png
2023-08-26T04:29:52.png

let originalTitle = document.title;
document.addEventListener("visibilitychange", function () {
    if (document.hidden) {
        document.title = '啊呀!≥﹏≤页面崩溃啦!';
    } else {
        document.title = '咦!( ̄▽ ̄)~*又好了!';
        setTimeout(function () {
            if(!document.hidden){
                document.title = originalTitle;
            }
        }, 1500)
    }
});