Laman

Javascript Focus and Not Focus Tab

<script>
window.addEventListener('focus', function() {
    document.title = 'focused';
});

window.addEventListener('blur', function() {
    document.title = 'not focused';
});
</script>

1 comment:

  1. JackpotCity Casino Review | JackpotCity Casino | Dr. Maryland
    JackpotCity Casino has a 이천 출장안마 great selection of games, from progressive jackpot slots 경주 출장안마 to video slots 영천 출장마사지 to blackjack tables and more. Whether it is 제주도 출장마사지 slots, 제주 출장안마 roulette,

    ReplyDelete

Silahkan