🎬
Available

KeepWatching

A lightweight browser extension that skips video ads, hides banner ads, and keeps your video viewing experience uninterrupted.

Features

✓ Automatic video ad skipping
✓ Fast-forwarding unskippable video ads
✓ Banner and overlay ad removal
✓ Automatic player muting during ads
✓ Automatic volume restoration
✓ Optional YouTube Shorts hiding
✓ Dynamic ad detection
✓ Anti-adblock detection handling
✓ Custom website management
✓ Per-feature enable and disable controls
✓ Blocking statistics
✓ Lightweight Manifest V3 architecture

KeepWatching is a lightweight browser extension designed to provide a cleaner and more uninterrupted video viewing experience.

It helps reduce interruptions from video advertisements, banner ads, and other distracting elements on supported websites.

With automatic ad skipping, banner removal, and intelligent audio controls, KeepWatching makes watching videos more convenient.


Built for uninterrupted viewing

Watching videos online often means dealing with advertisements before or during playback.

Some advertisements can be skipped, while others require waiting. Banner ads and floating overlays can also take up valuable screen space.

KeepWatching is designed to reduce these interruptions through several complementary techniques.

Instead of relying on a single ad-blocking method, it combines video player interaction, DOM monitoring, and preventive ad handling.

The goal is simple: spend more time watching the content you want and less time dealing with advertisements.


Core features

Automatic video ad skipping

KeepWatching detects video advertisements and automatically clicks the skip button as soon as it becomes available.

For unskippable pre-roll and mid-roll advertisements, it attempts to fast-forward playback to reduce waiting time.

Banner and overlay ad removal

Removes or hides common advertising elements across supported video pages.

This includes:

  • Masthead advertisements
  • Sidebar advertisements
  • In-feed advertisements
  • In-player overlay advertisements

Automatic muting during advertisements

When a video advertisement is playing, KeepWatching automatically mutes the player.

Once the advertisement ends, the original audio volume is restored.

This helps reduce unexpected advertising audio without requiring manual interaction.

Optional YouTube Shorts hiding

If you prefer a traditional video browsing experience, you can enable the Shorts filtering feature.

KeepWatching can hide:

  • Shorts shelves
  • Shorts cards
  • Shorts tabs

It can also redirect Shorts links to their regular video watch pages.

This feature is optional and can be enabled or disabled independently.

Dynamic advertisement detection

Modern websites frequently inject advertising elements after the initial page load.

KeepWatching uses MutationObserver and periodic checks to detect dynamically added advertisements.

This makes its filtering logic more suitable for modern single-page applications (SPAs).

Preventive ad removal

Rather than only reacting after advertisements appear, KeepWatching also uses a preventive approach on YouTube.

Its MAIN-world script filters known advertising-related fields from player data before the video player processes them.

This helps prevent some advertising elements from being created in the first place and reduces exposure to common anti-adblock detection mechanisms.

Custom website management

KeepWatching runs only on websites you add to its managed-site list.

YouTube is included by default, and you can add other websites when needed.

Website permissions are requested for the specific domains you choose rather than requiring broad access to every website at installation.


Flexible controls

Different users have different viewing preferences.

KeepWatching provides configurable controls so you can decide which features should be active.

Key controls include:

  • Global enable and disable switch.
  • Individual feature toggles.
  • Custom website management.
  • Domain-based website matching.
  • Optional Shorts filtering.
  • Blocking statistics.
  • Toolbar badge displaying activity.

These settings allow you to customize the extension without changing its source code.


How it works

KeepWatching combines several browser technologies to handle different types of advertisements.

1. Video advertisement detection

The content script monitors the video player and detects advertisement states.

When an advertisement is detected, it attempts to:

  • Click available skip buttons.
  • Fast-forward unskippable advertisements.
  • Mute the player during advertisement playback.
  • Restore the audio after the advertisement ends.

2. DOM monitoring

KeepWatching uses MutationObserver and periodic checks to identify dynamically injected advertising elements.

It applies filtering rules to common banner, overlay, and promotional elements.

3. Preventive YouTube ad filtering

YouTube-specific filtering runs in the page’s MAIN world at document_start.

It intercepts relevant player data and removes known advertising-related fields before the player processes them.

This preventive approach complements the normal content-script filtering logic.

4. Runtime website registration

KeepWatching uses browser scripting APIs to register content scripts dynamically based on the user’s managed-site list.

When a website is added, the extension requests permission for that domain.

When a website is removed, its content scripts are unregistered and stop running on subsequent page loads.


Privacy and permissions

KeepWatching is designed around user-controlled website access.

Instead of automatically running on every website, it uses a managed-site configuration to determine where its content scripts should operate.

Important characteristics include:

  • YouTube is the default configured website.
  • Additional websites must be added by the user.
  • Host permissions are requested for selected domains.
  • Website filtering settings are stored locally in the browser.
  • No external backend service is required for the core filtering workflow.

This approach keeps website access more focused and gives users greater control over where the extension operates.


Technology stack

KeepWatching is built with modern browser extension technologies:

  • Manifest V3
  • WXT
  • React 19
  • TypeScript
  • Vite 8
  • Tailwind CSS v4
  • MutationObserver
  • Chrome Scripting API

It uses dynamic content-script registration and browser-native extension APIs to manage website access and filtering behavior.


Open source

KeepWatching is independently developed, and its source code is available on GitHub.

View KeepWatching on GitHub

The project is released under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).

You can explore the source code, review its implementation, or contribute improvements.


Built for a better viewing experience

KeepWatching is one of my independent developer projects focused on building practical browser extensions.

The idea is straightforward:

Make online video watching less interrupted with lightweight tools that give users more control over their browsing experience.

Note: KeepWatching is currently an educational and demonstration project. Video websites frequently change their player implementations and advertising mechanisms, so compatibility may vary over time.