Introduction on developing Visual Studio Code extensions: https://code.visualstudio.com/api/get-started/your-first-extension
Documentation for the code itself is kept within the code, and is extracted via
| function main(){ | |
| const durationContainers = Array.from(document.getElementById("items").getElementsByClassName("style-scope ytd-thumbnail-overlay-time-status-renderer")); | |
| var durations = durationContainers.map(__span => __span.innerText).map(duration => { | |
| if (duration) { | |
| return duration.split(":").map(duration => parseInt(duration)).reverse().reduce((acc, e, i) => { | |
| return acc + e * Math.pow(60, i); | |
| }); | |
| } | |
| else { | |
| return 0; |
Introduction on developing Visual Studio Code extensions: https://code.visualstudio.com/api/get-started/your-first-extension
Documentation for the code itself is kept within the code, and is extracted via
| # Version format | |
| version: 1.0.0.{build} | |
| image: | |
| - Ubuntu | |
| # - Visual Studio 2017 | |
| platform: x64 | |
| configuration: |