In this video we are going to learn the following:
Using JavaScript to calculate the total duration of a KZitem playlist by traversing the DOM nodes and doing some basic math operations.
Learn how to use a DevTools Snippet
Learn how to create a Bookmarklet
Learn how to create a Chrome Extension
Created by: Kostas Minaidis (@kostasx)
=====
Notes
=====
What got me confused while talking about the remainder operator,
is that in languages like Python, the % is actually the modulo operator
while in JavaScript it is the remainder operator. There pretty similar
but not exactly the same.
See this MDN page for more: developer.mozi...
========================
References and resources
========================
The code can be found here:
github.com/in-...
How to enable Developer Mode in Chrome Extensions manager
support.google...
Bookmarkleter: chriszarate.gi...
Get started with Chrome Extensions
developer.chro...
Our Chrome Extension boilerplate:
github.com/Goo...
Download a single folder from a GitHub repository:
download-direc...
Calculate KZitem playlist online:
www.lenostube....
ytplaylist-len...
Convert seconds to HH:MM:SS
www.inchcalcul...
For more ways to convert seconds into HH:MM:SS format, check out the answers on this StackOverflow thread: stackoverflow....
About TrustedHTML: developer.mozi...
The Playlists that I used for testing:
LLM Compendium
• LLM Compendium
MIT 6.006 Introduction to Algorithms, Spring 2020
• MIT 6.006 Introduction...
How AI Works
• How AI Works
Machine Learning for Web Developers (Web ML)
• Machine Learning for W...
Негізгі бет Learn JavaScript by building a YouTube Playlist duration calculator
Пікірлер