Back to projectsAutomation script

YouTube Enhancements

Comprehensive YouTube userscript suite covering auto-like, channel navigation, adblock-protection bypass, smart scrolling, UI cleanup, and detailed settings.

Context

This is one of the broader browser-automation projects in the portfolio, built around many small frictions that appear while using YouTube regularly.

Problem

Frequent YouTube use creates a long tail of repetitive actions: liking subscribed channels, navigating to videos tabs, bypassing adblock warnings, scrolling, and hiding unwanted homepage sections.

Solution

The script bundles multiple focused features behind a settings panel: subscription-aware auto-like, channel redirect shortcuts, adblock-ban bypass, keyboard-controlled scrolling, game-section removal, configurable check frequency, and advanced logging.

Key decisions

  • -Refactored the codebase into specialized classes so the growing feature set stayed maintainable.
  • -Made every major behavior configurable because not all automation belongs on by default.
  • -Updated the implementation for Trusted Types compliance and dynamic navigation events to stay reliable on modern YouTube.

Key features

  • -Auto-like with watch-threshold, live-stream, and subscription-aware options
  • -Automatic redirect from channel featured pages to videos pages
  • -AdBlock-ban bypass with feature-preserving playback
  • -Keyboard-controlled smart scrolling
  • -Optional hiding of game-related homepage sections
  • -Advanced logging and configurable check frequency
  • -F2 settings panel

Results

  • -Represents one of the most feature-complete userscripts in the portfolio.
  • -Shows architecture, maintainability, and compatibility work beyond small DOM tweaks.
  • -Adds a stronger product feel to the automation catalog through settings, logging, and modular design.

Stack

JavaScriptTampermonkeyYouTube API

Links