Create a Bookmarklet to hide (annoying) YouTube Overlays using JavaScript (Level: Beginner)

Опубликовано: 17 Март 2026
на канале: Kostas Minaidis
25
2

Do you hate those annoying YouTube overlay popups? Here's how you can use the power of JavaScript to create a handy bookmarklet button to turn them on and off.

If you like this video please, like and subscribe!

Here's a coding challenge for you: can you use the same technique to hide the suggested videos section and/or the comments section? Leave your feedback in the comments below.

=======================
REFERENCES & RESOURCES

Computed Value: https://developer.mozilla.org/en-US/d...
DOM API: https://developer.mozilla.org/en-US/d...
document.querySelectorAll: https://developer.mozilla.org/en-US/d...
for..or loop: https://developer.mozilla.org/en-US/d...
forEach Array method: https://developer.mozilla.org/en-US/d...
HTMLElement: style property: https://developer.mozilla.org/en-US/d...
NodeList: https://developer.mozilla.org/en-US/d...
window.getComputedStyle() method: https://developer.mozilla.org/en-US/d...
Bookmarklet: https://en.wikipedia.org/wiki/Bookmar...
The Bookmarkleter tool: https://chriszarate.github.io/bookmar...

==============================================================
Learn more about intechgration, WDX180 and our goals in the following links:

https://intechgration.io
https://in-tech-gration.github.io/WDX...

If you found this video helpful, please subscribe, leave a comment and share it. You can also consider a small donation to support our goals: https://ko-fi.com/intechgration