按F12 在Console中输入:
elements = document.getElementsByTagName("ytd-grid-video-renderer")
for(var i= 0; i < elements.length; i++){
time = elements[i].getElementsByClassName("ytd-thumbnail-overlay-time-status-renderer")[1].innerText.replace(/(^\s*)|(\s*$)/g, "").split(":")
if((time.length <3 && time[0]<30)|| time.length==1){
// console.log(elements[i])
elements[i].style.display='none'
}
}