YouTube Ad Punisher is a browser extension that automates a workaround to skip ads by reloading pages. According to the GitHub repository, the tool detects when an ad appears on YouTube, captures the exact playback timestamp, reloads the page, and auto-seeks back to the same position in the video.

The extension works by monitoring for YouTube’s ad display classes and overlay elements every 500 milliseconds. When an ad is detected, it saves the current video timestamp to session storage, reloads the page using the URL parameter &t=Xs, and relies on YouTube’s native auto-seek feature to resume playback. According to the source, YouTube re-evaluates ad serving on each reload, and after one to two cycles the ad slot is typically empty and the video plays directly.
If reloads fail to clear an ad after three attempts, the extension automatically redirects to yout-ube.com, an ad-free YouTube mirror, with a loop=0 parameter to prevent infinite replay issues. The tool also includes a cooldown mechanism to prevent reload loops.
The extension logs every ad served, capturing the advertiser name, ad duration, skip button text, video title, timestamp, and action taken. Users can export this data as JSON or CSV directly from the extension’s popup interface. All data remains local and is not sent anywhere, according to the repository.
Chrome users can install it by cloning the repository, enabling Developer mode in chrome://extensions, and loading the unpacked folder. Safari support requires enabling the Develop menu and running a provided AppleScript watcher, though the source notes this method is “best-effort” and may require manual testing.
The creator frames the tool as a passive protest mechanism: each reload represents a “vote” against watching ads. The source states that YouTube’s ad revenue model could break if reloads become cheaper than ad views from an infrastructure perspective. The extension can be combined with other tools like uBlock Origin and SponsorBlock without conflicts, according to the documentation.
Key facts
- YouTube Ad Punisher automatically reloads pages when ads appear and restores your playback position
- The extension logs all ads served with advertiser, duration, and timestamp data, exportable as JSON or CSV
- After 3 failed reloads, it redirects to yout-ube.com, an ad-free mirror
- The tool works by detecting ad overlays every 500ms and preserving video timestamps via URL parameters
- Installation requires loading the unpacked Chrome extension or running a script on Safari
- The source describes it as working without triggering YouTube’s anti-adblock detection system
