//You need to run this in javascript console inside chrome //Assumptions: //1. Will count only "expanded" videos on page, you may first need to run script to scroll to last video or do it manually //2. Tested on chrome, ubuntu, 2019 //3. Time format: hh:mm:ss var array = document.getElementsByClassName("style-scope ytd-thumbnail-overlay-time-status-renderer"); var arrLength = array.length; var allHours = 0; var allMinutes = 0; var allSeconds = 0; for (var i=0; i