youtube icon indicating copy to clipboard operation
youtube copied to clipboard

FEATURE REQUEST: a subsetting to the copy video ID button to be able copy the whole dir.

Open Saxombie opened this issue 6 months ago • 7 comments

For several reasons, i need the whole dir to be copied, not just the last "ID" characters.

This is what the Copy ID button grabs now: "fIeuMnW_6Cc"

This is what i need: "https://www.youtube.com/watch?v=fIeuMnW_6Cc"

Please add that subsetting. Thanks.

Saxombie avatar May 31 '25 04:05 Saxombie

hi @Saxombie you can add that and the short youtu.be/ variant too.

ImprovedTube avatar May 31 '25 21:05 ImprovedTube

hi @Saxombie you can add that and the short youtu.be/ variant too.

Add it where? There is any customization for the "copy ID" button?

Saxombie avatar May 31 '25 23:05 Saxombie

hi @Saxombie you can add that and the short youtu.be/ variant too.

Add it where? There is any customization for the "copy ID" button?

Here: https://github.com/code-charity/youtube/blob/99876bd2333462f2b05abbfe6969946899383f9e/js%26css/web-accessible/www.youtube.com/playlist.js#L223

wbalbo avatar Jun 11 '25 18:06 wbalbo

hi @Saxombie you can add that and the short youtu.be/ variant too.

Add it where? There is any customization for the "copy ID" button?

Here:

youtube/js&css/web-accessible/www.youtube.com/playlist.js

Line 223 in 99876bd

ImprovedTube.playlistCopyVideoIdButton = function () {

Ok but please add the option on the extension. ^^

Saxombie avatar Jun 11 '25 21:06 Saxombie

hi @Saxombie you can add that and the short youtu.be/ variant too.

Add it where? There is any customization for the "copy ID" button?

Here: youtube/js&css/web-accessible/www.youtube.com/playlist.js Line 223 in 99876bd ImprovedTube.playlistCopyVideoIdButton = function () {

Ok but please add the option on the extension. ^^

Oh, I thought you would code haha, joking.

I will check this.

wbalbo avatar Jun 11 '25 21:06 wbalbo

@Saxombie it is done.

wbalbo avatar Jun 14 '25 03:06 wbalbo

thanks for figuring it out @wbalbo!
We could make this type of task more convenient/take fewer chars in future.

(Given that it universally never needs to end: Each sub-option or sub-sub-option will make people smile who need / like it, without taking any pixels on other's screens.)


hi @Saxombie have fun! (The reason i wasn't thrilled was just that it's not a feature requiring to work with YouTube - aside form playlists, since you can copy a URL with CTRL+L,C or if required even faster, one could sum that up as single hotkey with a global extension or keyboard macro.) What's your use case?

ImprovedTube avatar Jun 14 '25 05:06 ImprovedTube