代码如下:
<script>
window.onmouseover = function () {
document.title = 'xjvae';
};
window.onfocus = function () {
document.title = '恢复正常了...';
window.onblur = function () {
document.title = '快回来~页面崩溃了';
</script>
图片预览:
正常点击网页:
切换网页:
回归网页: