⪼ Made with 💜 by Polyglot.
- Business :: Magazine :: Foundr :: About :: How to Create a Digital Magazine (How We Did It)
- Software Engineering :: Web :: Browser :: Extension :: Development :: Link & Title Copy
- Software Engineering :: Web :: Browser :: Extension :: Development :: YouTube Channel Inspiration
- [Playback speed] (
+|-): (command+control|alt|option) ++|-
- Consider adding screenshot, screenshot with link to video at current time, and screenshot with link to video at current time and header (LLM => Header Text, or Enter Header Text Manually)
NOTE: The title of the video is also in the title bar / title tag of the page
document.querySelector('video')
document.querySelector("#title > h1 > yt-formatted-string").textContent
const video = document.querySelector('video');
const videoCurrentTime = Math.floor(video.currentTime)
let newUrl = new URL(window.location.href);
newUrl.search = new URLSearchParams({
v: newUrl.searchParams.get('v'),
t: Math.floor(document.querySelector('video').currentTime)
});
(() => {
const title = document.querySelector("#title > h1 > yt-formatted-string").textContent;
let newUrl = new URL(window.location.href);
newUrl.search = new URLSearchParams({
v: newUrl.searchParams.get('v'),
t: Math.floor(document.querySelector('video').currentTime)
});
console.log(`[${title}]: ${newUrl.href}`);
})();


