Swaps video ads for an ad-free stream.

Overview

VideoAdBlockForTwitch

This video adblock for Twitch extension will swap Twitch video ads for an ad-free version of the stream at 480p and then automatically switch back to the original video quality once the ad is finished. This is all done locally, no proxies, no VPN's and no third party websites. The extension does not collect nor share any personal information and is opensource, link is below. Works best when used with UBlock Origin, although this extension does also block some ad tracking URL's.

Info

The original author decided to be a bitch by adding his amazon ref-link to his chrome extension. I've removed that part entirely.

Installation Steps

  • Download the latest .ZIP Archive
  • Extract the ZIP Archive
  • Open up Chrome and in your Web Browser URL, enter: chrome://extensions
  • Enable the Developer Mode toggle, found in the top right of this view (typically) of the extensions page in your browser.
  • Click Load unpacked Extension
  • Navigate to the extracted folder from the ZIP Archive and select that folder.

Objective of this fork

  • Keeping it donation- and ref-link free and ofcourse always open source
  • Migrating to Manifest v3 (Chrome)
  • Publishing to the Chrome Webstore

Credits

  • @saucettv (original Author)
  • @mikirobles (thanks for removing the Donation-Stuff etc.)
  • @pwltr (thanks for adding the GPL-License and helping with Manifest v3)
  • @HatterTheMadd (thanks for updating the manifest.json and helping with Manifest v3)
  • @kdjmonaghan (thanks for adding clearer instructions for less advanced users)
Comments
  • adblock not working as of today

    adblock not working as of today

    After opening a stream, it says 'blocking ads' in the top left and all that is shown is a purple-backgrounded still image with the twitch logo at the top and 'commercial break in progress' underneath. This lasts the duration of the ad that would normally play (countdown at top right) then stream opens. Only started happening today, was fine this morning but then it stopped working maybe around 8/9pm BST

    opened by supa42 41
  • Stream not starting anymore

    Stream not starting anymore

    Seems twitch changed something, since today, when I open a stream or vod, I only see the buffering symbol and the video never starts. If I disable this extension, it starts right away.

    opened by d-t-o 14
  • Hey there! If you're a dev, read this :)

    Hey there! If you're a dev, read this :)

    Hey there!

    I'm glad to see that @mikirobles already pushed some changes to this repo. I'd like to get this extension on the Chrome Webstore, so other people can just easily install this extension.

    I need some help to migrate it from Manifest v2 to v3. So if you're down for that, feel free to push to this repo. I'll review and merge them afterwards, and ofcourse everyone who's pushing changes which will get merged, will receive credits.

    Let's keep this extension donation- and ref-link free.

    Thanks for reading <3

    help wanted 
    opened by cleanlock 14
  • Hybrid embed, proxy, fallback implementation

    Hybrid embed, proxy, fallback implementation

    This is a rough implementation of using the embed player, followed by a proxy (ttv.lol), and falling back to the Commercial Break in Progress screen if both of these fail.

    Some notes about the changes:

    • If the embed player kicks in it wont contact the proxy server which should help reduce any additional traffic to their service.
    • Both embed and proxy should run at the same resolution as the current player (no more 480p... except on Firefox for the time being)
    • One request to the main m3u8 has been removed which never really did anything useful (as far as I can tell)
    • I have removed the stream quality change code path from the chrome code as I don't think it helps and it's annoying. It's still enabled on Firefox as it does help with freezing issues there

    I haven't really tested this. I've only tested prerolls. Please test thoroughly before merging.

    opened by pixeltris 9
  • Can't turn quality down lower than 480p whilst ads are being blocked

    Can't turn quality down lower than 480p whilst ads are being blocked

    Browser: Firefox 99.0.1 Addon: v5.4.1

    Bit of an odd one, I guess, but a bug either way.

    Still seems to drop down to the lower resolution after blocking ads, however.

    Does make me wonder if a mid-roll happens if it turns the quality up to 480p πŸ€” Generally not physically watching a stream when I've set it to 160p to notice.

    opened by HanPrower 8
  • Update to Manifest v3

    Update to Manifest v3

    • revert "remove firefox code"
    • move inline script to separate file and call from service worker via message call
    • format files

    I think it should be something like this for v3 but I'm having trouble testing since I am not getting ads at all.

    opened by pwltr 8
  • VODs/Streams Crashing with Error Code #3000

    VODs/Streams Crashing with Error Code #3000

    Browser: Chrome β€” Version 101.0.4951.41 (Official Build) (64-bit) Add-on: v5.3.5

    Sometime into watching a VOD or Stream of someone, the Twitch Media Player crashes and returns Error Message #3000.

    opened by RevENGE-code 7
  • Discord link and addon are both missing from Google

    Discord link and addon are both missing from Google

    I'm not sure where else to put this. The discord link does not work so I can't join for updates. Can someone please link it here so I can join and follow the updates?

    opened by CrazedBanana 5
  • Manifest v3 Update

    Manifest v3 Update

    Hi everyone,

    so this extension is based on Manifest v2 still and it needs to be updated to Manifest v3 in order to get it published on the Chrome Webstore. @HatterTheMadd has pushed some stuff to the dev-Branch for Manifest v3.

    Unfortunately, Manifest v3 doesn't allow inline-scripts anymore.

    Edit: Update has been pushed.

    WIP 
    opened by cleanlock 5
  • Streams not loading with Twitch Adblock enabled.

    Streams not loading with Twitch Adblock enabled.

    I've noticed that with the extension enabled, the streams don't load unless I disable adblock in the extensions setting. The screen stays in a black image with the typical loading circle. No more to add, happens with all type of streams or categories. Greetings and nice extension despite this issue

    opened by Gona2119 4
  • Squad Stream Support

    Squad Stream Support

    This Extension doesn't work during squad streams.

    https://help.twitch.tv/s/article/how-to-use-squad-stream?language=en_US

    Just wanted to let you know!

    opened by creedda 3
  • Removed from Chrome

    Removed from Chrome

    Unfortunately this has extension been blocked by the Chrome Web store

    image

    It still works with manual installation but this will definitely make the arms race harder to win

    opened by cnkeats 3
  • Added

    Added "Excluded Channel" feature

    Hi! As suggested by @orblazer on the Issues page, I have added a feature to support specific creators by allowing ads on their stream. You can configure it in the settings for multiple channels. I have tested it for some time on Microsoft Edge 108 and I haven't noticed issues so far.

    I'm still working on the Firefox version, but it seems the Worker can't read the settings, and currently I'm not sure how to fix this issue.

    I hope this can be useful :)

    opened by CDanilo25 1
  • Video freezing while audio continues to play after blocking ads

    Video freezing while audio continues to play after blocking ads

    Using Firefox 107.0.1 (64-bit), Win 10, with uBlock Origin (no user script) and Twitch Adblock, occasionally when the plugin blocks ads the video stream will freeze while the audio stream continues to play. User intervention is required in order to correct this, usually by toggling "low-latency" on and off, or refreshing the browser page.

    Edit: lol forgot the browser name XD

    opened by qeveren 2
  • Odd bug with VAFT (UserScript)

    Odd bug with VAFT (UserScript)

    So, it sometimes succeeds in bypassing Midrolls, but has a TERRIBLE bug: it keeps the Ad Timer, the Blocking Ad message, and resets the player every 3~10 seconds, along with the timer, making it impossible to watch once the ads hit.

    opened by TsukiZero 0
Releases(v5.4.0)
  • v5.4.0(Apr 3, 2022)

    What's Changed

    • Updated README by @cleanlock in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/24
    • Updated Firefox Addon ID & Version by @cleanlock in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/25
    • Dev by @cleanlock in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/27
    • Update README.md by @quack79 in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/28
    • Dev by @cleanlock in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/29
    • re-added Discord Link to README by @cleanlock in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/30
    • Update README.md by @cleanlock in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/32
    • Rearrange ReadMe by @kdjmonaghan in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/34

    New Contributors

    • @quack79 made their first contribution in https://github.com/cleanlock/VideoAdBlockForTwitch/pull/28

    Full Changelog: https://github.com/cleanlock/VideoAdBlockForTwitch/compare/v5.3.7...v5.4.0

    Source code(tar.gz)
    Source code(zip)
    Twitch.Adblock.chrome_v5.4.0.zip(127.11 KB)
    Twitch.Adblock.firefox_v5.4.0.zip(126.97 KB)
Owner
cleanlock
JavaScript, PHP, HTML5/CSS, SourcePawn, Bash
cleanlock
A browser extension to skip intro, recap and ads on video streaming plaforms

AIO Skipper AIO skipper is a browser extension made for ?? binge watchers ?? . It automatically skip intro, recaps and ads in Netflix, Prime Video, Di

null 6 Nov 2, 2022
Youtube App without ADs

youtube-webos Youtube App without ADs Pre-requisites (Optionally) Install webOS SDK - https://webostv.developer.lge.com/sdk/installation/ Setup webOS

Swapnil Kumbhare 137 Jan 2, 2023
This repo contains the code for blocking YouTube ads that is supposed to be run by an iOS shortcut

Block YouTube Ads in Safari on iPhone/iPad This repository contains code for the shortcut that we use to block YouTube ads on iPhone/iPad. The problem

AdGuard 69 Dec 17, 2022
Video.js - open source HTML5 & Flash video player

Video.js - HTML5 Video Player Video.js is a web video player built from the ground up for an HTML5 world. It supports HTML5 video and Media Source Ext

Video.js 34.8k Jan 5, 2023
A Node JS Express/Serverless demo application that creates a slideshow video using the Pexels image library and Shotstack video editing API.

Shotstack Pexels Slideshow Video Demo This project demonstrates how to use the Shotstack cloud video editing API to create a video using an HTML form

Shotstack 25 Dec 9, 2022
A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams.

MP4Inspector A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams. Installation In chrome navigate to chr

Bitmovin 48 Nov 28, 2022
Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology

Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC technology

Alex X 742 Jan 4, 2023
Simple example script that receives the signal from one iptv channel and relays it via websocket to another server to replicate the stream to multiple players

Simple example script that receives the signal from one iptv channel and relays it via websocket to another server to replicate the stream to multiple players

Ericky Thierry 3 Feb 20, 2022
HTML5 fmp4 live stream (ll-fmp4) player written in TypeScript

umataste HTML5 fmp4 live stream (ll-fmp4) player written in TypeScript Feature Playback for fmp4 stream Extremely low latency of less than 0.1 second

γ‚‚γ«γ‚‡ο½žγ‚“ 5 Oct 21, 2022
Automatically stream lo-fi hiphop at system startup on the Lofipi

Lofipi-mpv This runs as a system service on Raspberry Pi inside my "lofipi" speaker to automatically stream music from YouTube playlists on startup. F

Nicholas Sherlock 38 Nov 15, 2022
Audio visualizer library for javascript. Create dynamic animations that react to an audio file or audio stream.

Wave.js Audio visualizer library for javascript. Installation Install With CDN <script src="https://cdn.jsdelivr.net/gh/foobar404/wave.js/dist/bundle.

Austin Michaud Ξ» 497 Dec 21, 2022
🎸 foolproof wrapper to stream what you're currently listening to

A lightweight Spotify API wrapper that allows you to display the music you're currently listening to ?? ?? ?? Getting started βͺ Prerequisites Create a

null 11 Dec 29, 2022
Enables

HTML5 video made easy All it takes is a single line of code to make HTML5 video and audio tags work in all major browsers. How to enable video and aud

Dave Hall 1.3k Dec 17, 2022
The HTML5 video player for the web

Flowplayer website | demos | docs For the impatient Download Flowplayer Unzip Drop the folder under your server Minimal setup <!DOCTYPE html> <head>

Flowplayer 1.9k Dec 30, 2022
HTML5

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

MediaElement.js 8k Dec 27, 2022
A lightweight, easy-to-use jQuery plugin for fluid width video embeds.

Introducing FitVids.js A lightweight, easy-to-use jQuery plugin for fluid width video embeds. FitVids automates the Intrinsic Ratio Method by Thierry

Dave Rupert 4.8k Dec 24, 2022
HTML5

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

MediaElement.js 8k Jan 8, 2023
A web video player built for the HTML5 world using React library.

video-react Video.React is a web video player built from the ground up for an HTML5 world using React library. Installation Install video-react and pe

null 2.4k Jan 6, 2023
Tonton video tutorial di YouTube saya untuk cara penginstalan & apabila kurang mengerti bisa hubungi saya di WhatsApp 🐣Klik link di bawah untuk tutorial penginstalan di heroku

BOTZ10 LAST Termux β€’ Heroku β€’ Session Setting β€’ Thanks TERMUX Git clone this repo > git clone https://github.com/zeeoneofc/BOTZ10a.git > cd BOTZ10a >

zeeone 17 Dec 23, 2021