var OriginTitile = document.title, titleTime;
document.addEventListener('visibilitychange', function() {
if (document.hidden) {
document.title = '(┬_┬)';
clearTimeout(titleTime);
} else {
document.title = 'kazaff';
titleTime = setTimeout(function() {
document.title = OriginTitile;
},2000);
}
});