I hereby claim:
- I am anjosc on github.
- I am anjosc (https://keybase.io/anjosc) on keybase.
- I have a public key ASCyLrTS3jyGXm7NAxw79SYQZyXuwdL1CWvXAzAwBTHU0wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
timestamps = document.querySelectorAll("td.pl-video-time > div > div.timestamp > span") | |
var total = 0 | |
for (i=0; i < timestamps.length; i++){ | |
var times = timestamps[i].innerHTML.split(":") | |
for(j = 0 ; j < times.length ; j++){ | |
z = times.length - j - 1 | |
total += parseInt(times[z]) * Math.pow(60,j) | |
} | |
} |