Actually we Play a notification sound when some update happens in database, so I am trying to reload page every 5 seconds when browser in minimized, this works fine in Firefox , but in Chrome this doesn't work.
Scenario:
Minimize the browser and leave the computer idle.
I have tried two methods:
Method 1:
<meta http-equiv="refresh" content="5;URL=http://example.com/" />
Method 2:
<script>
$(document).ready(function () {
setTimeout(function(){
window.location.reload(1);
}, 5000);
});
</script>
Any help would be great.