Greasy Fork is available in English.
YouTube動画のコメントやリストなどをタブに作成します
刷新直播頁面後,聊天室一直顯示載入中。需要手動隱藏聊天室後再打開。測試時沒有登入 YouTube。
なぜ中国語!?w
Which browser you are using?
Have you disabled other userscripts and only enable this script?
I think there are some bugs for the chat in the latest version. I will try to do my best to resolve it in this weekend.
Updated. See whether the issue is fixed.
なぜ中国語
Well, I just wanted to give it a try.
Which browser you are using?
Have you disabled other userscripts and only enable this script?
I always test it several times in the following environments and make sure I can reproduce the problem before I report it.
Updated. See whether the issue is fixed.
In version 4.60.26, the problem seems to be fixed but the functionality related to tyt-iframe-popup-btn
is missing after refreshing the page.
Actually, there have been cases where the chat room worked fine after refreshing the page.
It's very rare for me, but maybe it's the opposite for you.
I think there are some bugs for the chat in the latest version.
I tested version 4.34.16 in the same environment and found that the old version also fails to load the chat room several times, but not as often as the new version. Maybe this is due to different reasons.
By the way, since the script requires kevlar_watch_metadata_refresh_no_old_secondary_data = false
and the new version is able to detect its value.
Is it possible to just disable it without installing another script?
Well, I just wanted to give it a try.
You can use Chinese, I don't mind.
I always test it several times in the following environments and make sure I can reproduce the problem before I report it.
Usually the bug issues can be classified as
So I need to know the exact condition of the issue being reported.
Actually, there have been cases where the chat room worked fine after refreshing the page.
I know there are bugs for chatroom. There are some issues in YouTube's desgin.
There was still some bugs in 4.60.26. Please update to 4.61.6 or above.
kevlar_watch_metadata_refresh_no_old_secondary_data = false
As the script setup is different, this script cannot disable the flag.
The info section keep changing every week. The old info section is required for Tabview Youtube.
There is a short version for disabling the flag.
// ==UserScript==
// @name YouTube: No kevlar_watch_metadata_refresh_no_old_secondary_data
// @namespace UserScripts
// @match https://www.youtube.com/*
// @grant none
// @version 0.0.1
// @author Me
// @description Disable kevlar_watch_metadata_refresh_no_old_secondary_data
// @run-at document-start
// @inject-into page
// @unwrap
// @require https://greasyfork.org/scripts/475632-ytconfighacks/code/ytConfigHacks.js?version=1252732
// ==/UserScript==
(() => {
window._ytConfigHacks.add((config_) => {
const EXPERIMENT_FLAGS = config_.EXPERIMENT_FLAGS;
if (EXPERIMENT_FLAGS) {
EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_no_old_secondary_data = false;
}
});
})();
You can use Chinese, I don't mind.
Thank you, but I'll keep my replies in English, it avoids having to translate those specific terms.
So I need to know the exact condition of the issue being reported.
Actually, what I meant to say is that you can reproduce these issue by trying a few times in incognito mode first, no more information is needed.
The reason you can't reproduce these issue:
Please update to 4.61.6 or above.
So far everything about the chat room is fine, thank you a lot!
There is a short version for disabling the flag.
Thanks again, but I hope I won't have to use it in the future.
The queue list now collapses when you click on the queue title.
You may need to check the functions related to this.
The queue list now collapses when you click on the queue title.
Where is the queue list? Screenshot please.
Playlist?
Sorry I didn't explain it right. It's the list that appears in the playlist tab after pressing Add to queue
.
I didn't say playlist directly because only the queue has bug.
In native YouTube, both the queue and the playlist can be collapsed by clicking on the title.
But only the queue will be collapsed in this script.
And it's similar to a previous problem. If it's not the first video you play, it won't happen.
I.e. the video you are testing should not be redirected from another video.
l'm not sure yet, so l didn't say much at first.
Tabview YouTube do not need to collapse the list. Native YouTube does this stupid thing because they put the playlist before the recommended videos in the same column.
Um... Just keep them like this now. This does not affect the use of this script. I do not expect people should click the title to collapse the list. (Might be one day YouTube design will change again for the playlist. If I disable the click action, then one day the click action might become another feature then the new feature will be lost)
Did you succeed in reproducing this bug?
Is the list only collapsible during the first video?
I'm in favor of keeping the list displayed, but now there are two different behaviors, could you fix this?
Sorry for increasing your workload.
Did you succeed in reproducing this bug?Is the list only collapsible during the first video?I'm in favor of keeping the list displayed, but now there are two different behaviors, could you fix this?Sorry for increasing your workload.
Don't click the list title please
I am lazy to fix this, cause I am not interested to click the title.
One day I might fix it, but not now...
By the way, since the script requires
kevlar_watch_metadata_refresh_no_old_secondary_data
= false and the new version is able to detect its value.Is it possible to just disable it without installing another script?
In v4.63.0, I make something to disable the flag in this script. If it still fails, another script is still required.
Update to v4.63.0 or later to see the effect.
The queue list now collapses when you click on the queue title.
Filed in https://github.com/cyfung1031/Tabview-Youtube/issues/27
Hope I have time to fix it during the 冬休み
I make something to disable the flag in this script.
Ah, I've already solved this problem...
Actually, I prefer your way, but I'll make some changes, like this.
/* jshint esversion:8 */ (function() { document.addEventListener('yt-action', function() { const config = (unsafeWindow.yt || 0).config_ || (unsafeWindow.ytcfg || 0).data_; if (config) { const EXPERIMENT_FLAGS = config.EXPERIMENT_FLAGS || 0; const EXPERIMENTS_FORCED_FLAGS = config.EXPERIMENTS_FORCED_FLAGS || 0; if (EXPERIMENT_FLAGS) EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_no_old_secondary_data = false; if (EXPERIMENTS_FORCED_FLAGS) EXPERIMENTS_FORCED_FLAGS.kevlar_watch_metadata_refresh_no_old_secondary_data = false; } }, { capture: true, passive: true, once: true }); })(); function main() {
Hope I have time to fix it during the 冬休み
That's great. Thank you.
BTW, the text of some menu buttons (e.g. the thanks button) is not hidden now, will you fix it?
The queue list now collapses when you click on the queue title.
Fixed.
BTW, the text of some menu buttons (e.g. the thanks button) is not hidden now, will you fix it?
Won't fix. As there is no perfect fix for this and it will be changed by YouTube engineers again.
刷新直播頁面後,聊天室一直顯示載入中。
需要手動隱藏聊天室後再打開。
測試時沒有登入YouTube。