Hola,
Estoy un script que permite colocarle un numero al favicon, quisiera intentar colocarle un numero cuando se generen notificaciones. Por ejemplo, cuando salgan dos notificaciones o alarmas, se coloque el numero 2 en el favicon.
Alguien sabe alguna funcion para que muestre los ultimas notificaciones.
Código:
<!doctype html>
<head>
<title>Notificaciones</title>
<link rel="icon" href="estadmovil.ico" />
<link rel="stylesheet" href="js/style.css" />
<script src="js/tinycon.min.js"></script>
<script>
(function(){
var count = 0;
setInterval(function(){
if (++count > 99) count = 0;
Tinycon.setBubble(count);
}, 1000);
})();
</script>
</head>
<body>
</body>
</html>