Last active
November 21, 2017 11:26
-
-
Save rubensrayo/91ade5925c25b396848eb13e28fb8673 to your computer and use it in GitHub Desktop.
contador de mierda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CODIGO PARA EL CONTADOR DE MIERDA | |
var n = 0; | |
var caja_de_texto = document.getElementById("number"); | |
var today = new Date(); | |
var today_abs = new Date(); | |
today_abs.setHours(0); | |
today_abs.setMinutes(0); | |
today_abs.setSeconds(0); | |
var today_secs = (today.getTime() - today_abs.getTime()) / 1000*253; | |
setInterval(function(){ | |
caja_de_texto.innerHTML = (today_secs + n++) +"kg"; | |
},3.937001) ; |
gonzaloserrano
commented
Nov 21, 2017
que cabrón, a la primera
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment