Обновить LE: Delete NoPopular Video.js

This commit is contained in:
lukas91 2025-01-05 04:07:50 +05:00
parent 22a95820d3
commit 717c0bc23d

View File

@ -12,6 +12,7 @@
(function() { (function() {
setTimeout(() => {
document.querySelectorAll(`span.inline-metadata-item.style-scope.ytd-video-meta-block`).forEach(span => { document.querySelectorAll(`span.inline-metadata-item.style-scope.ytd-video-meta-block`).forEach(span => {
const text = span.textContent.trim(); const text = span.textContent.trim();
// Проверяем, соответствует ли текст нужному шаблону // Проверяем, соответствует ли текст нужному шаблону
@ -27,5 +28,6 @@
} }
} }
}); });
}, 5000); // Задержка в миллисекундах (5000 = 5 секунд)
})(); })();