Hide Premiere/Upcoming Videos in YouTube Search results until they release. It doesn't hide normal and live videos.
นี่คือเวอร์ชันของสคริปต์นี้ที่โค้ดมีการอัปเดต แสดงเวอร์ชันทั้งหมด
You'll notice a significant performance increase compared to before.
Small text changes.
Just some text changes.
This update brings a couple of small tweaks:
Hello, We’ve made some tweaks in this update to fix a few things that weren’t working quite right in the last version. Here’s what’s new:
Uhh... In version 1.7, the script was a bit too eager and ended up hiding some videos that it shouldn’t have. We’ve sorted that out in version 1.8, so everything should be working smoothly now.
Changelog version 1.6 to 1.7 (optimizations), 6 august 2024Debounced Content Handling: I added a little delay (100 milliseconds) before running the function that hides the videos. This way, it doesn't keep running constantly as you scroll and load more videos. It waits a bit to see if there are more changes, then runs. This should make things smoother and less heavy on your browser.Selective Observing: Instead of watching the whole page for changes, the script now focuses only on the part of the YouTube page where videos get added (ytd-app). This makes it more efficient because it's not checking unnecessary parts of the page.Reduced Redundant Checks: By targeting specific elements (ytd-app and its children), the script does fewer unnecessary checks. This means it can do its job faster and with less load on your computer.