把Youtube Videos中的评论及视频列表制作成Tabs
Which browsers and version and OS you are using?
Did you try to disable other plugins / userscripts / extensions?
When you add the videos in the queue, after maximizing the video, the playlist tab shall automatically appear.
i.e. 0:14 in your video
Firefox 102.0.1, Win10. Just tried on a fresh new Firefox profile, with only this script and nothing else, and same issue occurs - the playlist tab doesn't appear when maximizing the video, but after refreshing the page, it does appear
Greasemonkey, Tampermonkey, or Violentmonkey ???
try Tampermonkey and upgrade this userscript to 2.6.0
This was with Tampermonkey, however I just tried Tampermonkey and Violentmonkey again using 2.6.0, issue remains
Unfortunately still doesn't show the Playlist tab, even after doing that
https://streamable.com/3gwbml
Did you try another browser in the same PC? Chrome / Edge.
What is your Firefox Version? I am using 91.11.0esr 64bit, cannot reproduce this issue.
Replacing the CSS with the following should fix this problem.
/* hide original right tabs {#related} */#primary-inner > #related, #secondary-inner > #related, /* during resizing - relocate it between {#primary} and {#secondary} */*:not(#tab-videos) > #related,#related #related, /* youtube coding bug */*:not([placeholder-videos]) > ytd-watch-next-secondary-r###lts-renderer, /* hide videos list & play list before script loading */#related > #related-skeleton, #related > #player-ads,*:not(#ytd-userscript-playlist):not(#card) > ytd-playlist-panel-renderer#playlist, /* hide videos list & play list before script loading */#primary #primary #info ~ #meta #meta-contents ytd-expander /* meta-contents relocated */{position: absolute;z-index: -1;visibility: collapse;max-height: 40px;overflow: hidden;margin-top: -40px;contain: strict;}
v2.6.1
added ":not(#card)" into the CSS, but not sure whether it will work or not.
because the coding detects the "hidden" attribute set in playlist. If it is hidden then the tab button will be also hidden.
I guess there is an experimental change in CSS in SupDos's YouTube layout, so the current coding does not work on SupDos' YouTube.
Right now I do not know the exact root cause for this.
fixed in version 2.7.0
seems found the root cause for this issue.
please update to version 2.7.7 to see if it works or not
Working perfectly now! Thank you :)
Hey there, there seems to be an issue when adding videos to the queue (the button that shows up when hovering over a video). The queue works and the videos will play back as usual, however the playlist button will not show up unless you refresh the page. Here's a screen recording which should hopefully explain it
https://streamable.com/15fr5f
Sorry if this has already been reported, couldn't find any other reports about it :)