คำตอบ:
ปัจจุบันยังไม่มีวิธีการรักษา / วิธีแก้ปัญหา นอกเหนือจากการบล็อกด้วยตนเองทีละคนไม่มีวิธีแก้ปัญหาที่ปรับขนาดได้
แต่มีส่วนขยายที่สามารถทำได้เช่น:
// ==UserScript==
// @version 1.1.1
// @name Hide watched videos on YouTube
// @namespace https://gist.github.com/xPaw/6324624
// @match https://www.youtube.com/*
// @updateURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
// @downloadURL https://gist.github.com/xPaw/6324624/raw/YoutubeHideWatched.user.js
// @grant none
// ==/UserScript==
const app = document.querySelector( 'ytd-app' );
function HideVideos( a )
{
app.querySelectorAll( 'ytd-thumbnail-overlay-resume-playback-renderer:not([data-hidden="true"])' ).forEach( element =>
{
element.dataset.hidden = true;
while( ( element = element.parentNode ).tagName.toLowerCase() !== 'ytd-item-section-renderer' )
{
// Find the container element for this video
}
element.hidden = true;
} );
}
function ProcessPage()
{
if( !window.location.pathname.startsWith( '/feed/subscriptions' ) )
{
return;
}
const list = app.querySelector( 'ytd-section-list-renderer' );
if( list.dataset.hooked )
{
return;
}
list.dataset.hooked = true;
list.addEventListener( 'yt-next-continuation-data-updated', HideVideos );
// TODO: Find an event to fix this
new MutationObserver( HideVideos ).observe( list, { childList: true, subtree: true } );
}
app.addEventListener( 'yt-navigate-finish', ProcessPage );
ProcessPage();
AFAIK ไม่มีวิธีทำบน YouTube แต่ฉันใช้ส่วนขยาย Chrome (การสมัครสมาชิกที่ดีกว่าสำหรับ YouTube ) ที่ให้คุณซ่อนวิดีโอที่ดูจากแท็บการสมัครรับข้อมูลของคุณ
display: none
ใด ๆ<ytd-compact-video-renderer>
ที่มีองค์ประกอบ#progress
ย่อย คุณจะไม่สามารถทำได้ใน CSS แต่สคริปต์ Tampermonkey ควรจะง่ายพอ ฉันจะไปทีหลังแล้วเขียนคำตอบ ...