by lerxst00 · 7y ago · 0 comments
So, I created a Chrome extension that surfaces YouTube comments that have timestamps right below the video, around the time that the comment contains. And, then disappears it after a few seconds.
It was fun to make and in the end, it solved a very specific problem that I was facing.
Link: https://chrome.google.com/webstore/detail/youtube-timed-comm...
http://shots.moss.io/a67bd6/Screenshot%202019-09-19%20at%201...
In this case, it is needed to get the url and id of the tab. I'll have to go back and check if I can make do without depending on that because I agree it does not make sense for this extension to need 'access to my browsing history'. Also, I do intend to put the code up and link it in the extension description page soon, so you don't have to take my word for it!
Thanks for pointing this out.
This is extremely specific (and i had to switch to Firefox Developer Edition to do that since the mainline one doesn't allow unsigned extensions) but it was helpful and i got to learn how to make extensions for personal use (though the whole process to call an external program was a convoluted PITA involving adding registry entries, writing Python scripts to parse JSON, etc... meh).
PARAM=`xclip -o -selection clipboard`
notify-send downloading $PARAM
youtube-dl $PARAM
And setting a keyboard shortcut to invoke it, so downloading is just CTRL+L (select URL)
CTRL+C (copy selection)
CTRL+ALT+D (trigger download script)You’re definitely not the only person who has this issue.
It’s definitely something YouTube could implement if they weren’t content with the minor tyre fix they’ve built.
The only issue I have now is that I've moved on to using Firefox. So, I can't really use this extension anymore.
I guess that sounds like another 'niche problem' that needs solving.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
Thanks for sharing.