twitchadsolutions's People
Forkers
johnknee redyrme aceaelus participationaward hymccord celuni timesailer mathnerd314 helohe ublockjs williamt1 asgornoth galenta radtaso ciprianp thorg23 killaboi sornluonre slooi ercouldnt wked cli13 pat841 shaunstanislauslau l1kw1d myonetaps princekael flaminsarge xrstalker tiagodouglas 106faceeater106 saylith nls01 geraniumblessing jerkeeler esteves67 dbuentello whough swirlclinic drumstix42 sg4e ericengineered mango-devourer cidelfus mfh020 mylooooo ara303 curious-developers a5ci goxostar tzr50race xanster yepblock duckyb therealgaxbo ksthiele impalapua dzcamrn aero7 drominus foamed1 plusgood jaakbanaan mainconceptx fejee muleyo hirajanwin nyvs lparkjordan elijahpepe ehdeeh mr24l7 ajminz tsangste eduardomaffissoni jesperkroyer niwelone hanzhg tharnite arpyage dionejm jdandu foolish314159 benmannmann doctortea hallminafrites i-percy slejbubneg trevordore 5wa7 headofstaffwire ramsesgtz42 fizwizjiz sanktah trentgil rabidk1ng freohr13 acoria1 thomadeus kemono7twitchadsolutions's Issues
[Question] Proxy Server
Hi there!
I'm currently working on a Proxy Server that utilizes a server located in a region where ads are not served. I'm also using an account that has Turbo enabled as a fallback (and also to test with).
I'm kind of a noob at nodejs based server development so bear with me on that whilst I ask you some questions :)
I've got the authentication working and I'm able to get designated m3u8 links in the same format as they would appear on usher.twitch.tv
(I use the turbo enabled accounts OAuth token to request the PlaybackAccessToken
operationName which automatically specifies Turbo = true
and Subscriber = true
for the streams where I am subbed, also show_ads = false
) which I then use when requesting the actual playlist links to a channel.
What is the best way for me to pass this onto the actual browser? Does the proxy-m3u8 ublock script/userscript currently handle the exact m38u data as it would appear from usher.twitch.tv
?
Thanks for the help and info!
Any solutions for iOS?
I just want to start with giving a ton of thanks
for this list, it has saved me a lot of sanity since they started their anti-Adblock efforts last year.
However I also watch a lot of Twitch on my jailbroken iOS device. Twitch has also implemented their Adblock bypass on iOS, which defeated the TwitchNoAds jailbreak tweak, the only working solution at the time. I also tried downgrading the app to a version way before then but even that didn’t work. The developer pushed one update for the tweak that attempted to fix the issue but it didn’t work, and they seem to have abandoned it afterwards. No one has came forward with a new Adblock solution ever since.
Does anyone here know of any working solutions for iOS? Or is it there a possibility that one can perhaps port one of the solutions on this list to work on iOS?
Edit 5/5/22: After what felt like ages, we finally have solutions.
TwitchAdBlock by level3tjg
or TwitchToolbox by HearseDev
Twitch Windows client
Any way to ever get this working for the Windows app?
Twitch Adblock extension gone
Twitch Adblock extension now gives you a constant "stream is offline" on any page, until you disable it.
Their github, also disappeared suddenly and the extension have been pulled from both Chrome and Firefox.
Scrubbed completely clean from the internet, which makes you think.
[Question] Ublock solution infinite loading
Why does the Ublock solution cause the stream to infinitely load for me when it tries to play an ad?
Consistent buffering with Twitch AdBlock
When using the Twitch AdBlock addon for chrome I am constantly getting buffering ever few seconds on streams whether I refresh or not switch streams etc.
Support multistre.am
I have no problems with ublock scripts, but those are only applied on twitch.tv, so I have unskippable purple frame at multistre.am every 20 minutes and the F5 helps. Can we extend script functions to this website as well?
Best regards
Please provide a feed for DNS host list for PiHole / ADGuard blocklists
I already have host based blocking using these solutions.
The plusses are it works network-wide (PiHole) and on Mobile (My primary twitch consumption device) - ADGuard
notify-strip dosnt work
The notify-strip no longer works for me. I updated to Windows 11 5 days ago and at the beginning everything worked fine, except that at the beginning of the stream I suddenly got ads, which I didn't have before.
Now I get since today (08.09.2021 | dd/mm/yyyy) again advertising during the stream and not only at the beginning.
I have checked the uBlock Origin configuration and have everything set correctly.
Google Chrome Version: 93.0.4577.63
uBlock Origin Version: 1.37.2
Windows 11 Version: Build 22000.176
Google Chrome Installed Addons:
- FrankerFaceZ
- HTTPS Everywhere
- Twitch Now (For notifications who is live)
- uBlock Origin
notify-strip stopped working
Just received a full ad (not purple screen) with notify-strip (dyn-skip-midroll-alt). Refreshed/reloaded but still getting ads on all streams. Have been using it for months with no issue.
Extensions for ad blocking by swapping to 480p.
I made an extension that adapts the pixeltris userscripts to make a kind of notify-replace. The extension will swap the video ads for a 480p version of the stream and switch back to original quality once the ad has finished. Firefox is version 2.1, Chrome is still waiting to be approved to 2.1. Only difference between 2.0 and 2.1, is I added ad tag urls to a block list in 2.1, to stop normal overlay ads that might slip through. Use UBlock Origin with it but don't use it with other Twitch specific userscripts or Twitch specific ad-block extensions, as it will cause conflicts. The link to the opensource code is below:
https://chrome.google.com/webstore/detail/video-ad-block-for-twitch/kgeglempfkhalebjlogemlmeakondflc
https://addons.mozilla.org/en-US/firefox/addon/video-ad-block-for-twitch
Opensource code:
https://gist.github.com/saucettv/0f85e9051c7d25aee67fdc033609fe1d
It all runs locally, no proxies or VPN's needed.
Getting Ads with Twitch Turbo
Not really an issue with any of the adblocks, just want to let people know I pay for twitch turbo and now I see pre rolls in every channel.
I will be cancelling that sub for an adblock
[Question] Why is Dyn-Skip getting deprecated if it does work?
I speak from experience here, have been using it since day 1 and the worst that happened is that about once or twice per day I get Error #2000 from Twitch, nothing else. Why is it getting deprecated in favor of ones that are detrimental by varying degrees to the viewing experience?
Notfy Strip and Audio Latency
Recently something Twitch did has been causing streams to repeat twice or thrice its first couple seconds and then desync the audio entirely with notify-strip.
`bypass` success chance?
Tried it today a few times but it failed to bypass the ads.
Not much, but I made a 480p extension for Firefox
Obviously the 480p option isn't great, but I made an extension for Firefox that will use the ad-free 480p version of the player. This wont be better than pixeltris's userrscript methods that try normally first, but I noticed a lot of people struggle with the userscripts, so made this quickly. So if you can stand 480p quality, this will work for you.
https://addons.mozilla.org/en-GB/firefox/addon/ad-free-but-480p-for-twitch/
Opensource and code is on Github as a gist https://gist.github.com/saucettv/06c470c4150398d4505381bfad67bf0b
Couldn't be bothered to pay the Google fee to put it on Chrome, but anyone is free to use the code and do it themselves if they have a dev account.
Infinite reload on 'notify-reload' solution for embed player. e.g destiny's bigscreen player
i find notify-reload quite based and works 100% of the time, unless its on an embed player where it never stops refreshing. i can have 10 tabs open, all on the same stream in the embed and itll get past thousands of ads skipped with no success, itll just keep refreshing
just copy paste this but put any twitch channel at the end of the url https://www.destiny.gg/bigscreen#twitch/
for example, https://www.destiny.gg/bigscreen#twitch/hasnabi
https://www.destiny.gg/bigscreen#twitch/pokelawls
https://www.destiny.gg/bigscreen#twitch/mizkif
find one thats live, and wait for an ad, and youll see. now idk if this is only for midrolls (just because off the top of my head while writing this i only remember it going off for midrolls while watching trainwrecks and nintendo directs, but it prolly happens for pre roll ads too
"Twitch AdBlock" showing ads
Don't work again.
[dyn-video-swap] Stream Stuck at 480p
Using: dyn-video-swap
I was watching a stream, using the ublock version, and went to try the script version.
Noticed it didn't show the little block, on the top left, that ublock shows when it changes to 480p.
Changed back to ublock version and now the streams are stuck at 480p always (and doesn't show the little box when using the ublock version).
Also, when changing to other stream it gets stuck on showing the previous stream (at 480p), even after the page loaded the rest of the stream that i changed to (chat, description, etc.)
If I change the solution or change to none, I can set it to 1080p but changing back to dyn-video-swap
(whatever the version, script or ublock) it's stuck on 480p again.
What can i do to fix it?
Out of sync video / audio on notify-strip
After an ad is skipped using notify-strip, audio and video are significantly out of sync until there is a manual player refresh. This has been occurring for about a month - the most recent change "Fix buffering issue after ad segments" did not resolve this for me, and it was happening since one of the updates before that. It was not doing this originally though, the sync issue popped up only a few releases ago. I'm using the userscript with Tampermonkey.
I've been using the other Twitch AdBlock add-on instead of notify-strip for the past month, however that one actually buffers more frequently for me than notify-strip. But today - ads started getting past Twitch AdBlock, so I returned to notify-strip, but the audio sync issue is still happening. Any thoughts? Thanks!
General discussion
Hi Pixeltris,
Just wanted to let you know, I have made some changes to 2.4 of Video Ad Block, I found a way to add in a check for a source quality ad-free stream. It seems to work quite well, sometimes a tiny buffer happens but it reduces the time of the 480p res significantly and on some streams it's 1080p straight away, others, it's like 10 or 15 seconds. The only downside is the amount of gql requests made, but it doesn't seem to have any downsides to the user experience..
The content.js https://github.com/saucettv/VideoAdBlockForTwitch/blob/main/content.js
You are obviously, very welcome to adapt it for notify-strip.
I also managed to finally test mid-rolls and it was indeed the picture-by-picture request causing the play/pause loop, so making the gql request for it empty fixed that issue and mid-rolls change res seamless also.
Cheers
Cookies are relevant to ads showing or not
I have a peculiar situation here that may be worth investigating.
I have Firefox and Chromium v.88.
I disabled all extensions in both browsers.
In both browsers I am logged into the same account and that account has Twitch Prime.
I get ads in Firefox and in Chromium in incognito mode but I don't get ads in Chromium in normal mode. My conclusion is that it has something to do with cookies.
I manually copied my Chromium Twitch cookie into Firefox. Firefox still got ads.
However, once I changed my Firefox "Browser Privacy" setting to "Standard", it stopped getting ads. I cleared cookies, logged back in without copying over the cookie and I started getting ads again.
Here is the cookie with sensitive data stripped from it :
api_token=twilight.eeeeeeee;
auth-token=dddddddd;
last_login=2020-10-19T02:14:18Z;
login=cccccccc;
name=cccccccc;
persistent=bbbbbbbb;
server_session_id=ffffffff"
twilight-user={%22authToken%22:%22dddddddd%22%2C%22displayName%22:%22cccccccc%22%2C%22id%22:%22145430916%22%2C%22login%22:%22cccccccc%22%2C%22roles%22:{%22isStaff%22:false}%2C%22version%22:2};
twitch.lohp.countryCode=CA;
unique_id=aaaaaaaa;
unique_id_durable=aaaaaaaa;
unique_id_samesite_compat=aaaaaaaa;
Note the "twilight." prefix in the api_token entry. I think it may be relevant.
TTV Intrusive Ad Blocker original creator.
Are you the original creator of TTV Intrusive Ad Blocker? Because someone on Reddit said they made it and ended up getting banned a day later and had their thread deleted which made it suspicious to download. Just curious.
[Question] Is the code for the proxy server open source?
Basically title.
Do we currently have a way to host our own proxy server?
Would be nice to have some fallback options incase the currently known hosted version fails.
Dyn scripts don't work since 1/13
Looks like none of the dyn- family scripts work anymore since yesterday. I always get "network error" from the player when it tries to play ads. Disabling userscript fixes the issue.
Rename userscript
If you rename your userscript to ....user.js
, it would facilitate much easier install, as tampermonkey/greasemonkey see those, and will attempt to auto install the userscript.
I think first link on Recommended just got patched
The link doesnt work anymore and twitch player fails to load whenever I have it enabled, it was working like an hour ago tho
Cannot make channel predictions
When a twitch channel starts a channel prediction, normally you can click the "Predict" button and a small window in the chat will popup allowing you to make a prediction. When using the Ublock Origin filter method (without the extension) this window pops up only briefly and then disappears. When I comment out the filter, channel predictions works as intended. I have observed the behavior with both the bypass method and the notify-strip method (I have not tested the other two methods).
Relevant system information:
Google Chrome 94.0.4606.81 (64-Bit)
Ublock Origin 1.38.4
Windows 10 21H1 (Build 19043.1237) (64-Bit)
Only one channel blocked
Hi, i was wondering how make the first userscript to be available for all the twitch's channels and not for a single one
din-skip/din-skip-mid Detection/Error
When enabling din-skip via UB or Tampermonkey, you get infinite reload.
When enabling din-skip-mid via UB or Tampermonkey, you get the following error:
Your device does not support playback of this premium content. Please try a different device. (Error #2)
notify-strip causing slideshow effect on video on any 720+ resolutions
So I have had this problem for a while and couldnt fix it, it would sometimes go away by refreshing window, the only way to prevent the slideshow effect was to drop resolution to 480p. Audio is always normal.
I then remembered I had installed a userscript using notify-strip, disabled it and the issue has vanished but of course back to 30+ second ads on every time I jump streams, is this a known issue or unique to myself?
notify-strip-ublock-origin.js blocks "** viewers also watch" on leftbar
Broken on Chromium 90.0.4420.93
Love the Extension. I'm having no issues on Chrome. However, on Chromium 90.0.4420.93 the Extension is not working. I understand the Extension might not be for Chromium users, but the issue will appear downstream on Chrome at some point, theoretically.
TTV.LOL leaking userID with IP
As posted on Reddit:
"Just a warning to those using TTV LOL, especially if you are a streamer. The extension currently leaks your Twitch user ID and personal IP to their Russian proxy. For obvious reasons this could be a problem. I have pasted an example below of the redirect URL used.
api.ttv.lol/playlist/streamer.m3u8%3Fallow_source%3Dtrue%26fast_bread%3Dtrue%26p%3A2255857%26play_session_id%3Ad453f480gg1r99h45a3095366ca5363a%26player_backend%3Dmediaplayer%26playlist_include_framerate%3Dtrue%26reassignments_supported%3Dtrue%26sig%3D86df4f12ab1d2ba8d99f82a81680be74e549c67a%26supported_codecs%3Dvp09%252Cavc1%26token%3D%257B%2522adblock%2522%253Afalse%252C%2522authorization%2522%253A%257B%2522forbidden%2522%253Afalse%252C%2522reason%2522%253A%2522%2522%257D%252C%2522blackout_enabled%2522%253Afalse%252C%2522channel%2522%253A%2522streamer%2522%252C%2522channel_id%2522%253A44338537%252C%2522chansub%2522%253A%257B%2522restricted_bitrates%2522%253A%255B%255D%252C%2522view_until%2522%253A1924905600%257D%252C%2522ci_gb%2522%253Afalse%252C%2522geoblock_reason%2522%253A%2522%2522%252C%2522device_id%2522%253A%2522Ob6oHtGYHjIKKJjjjRDwMe%2522%252C%2522expires%2522%253A1620467116%252C%2522extended_history_allowed%2522%253Afalse%252C%2522game%2522%253A%2522%2522%252C%2522hide_ads%2522%253Afalse%252C%2522https_required%2522%253Atrue%252C%2522mature%2522%253Afalse%252C%2522partner%2522%253Afalse%252C%2522platform%2522%253A%2522web%2522%252C%2522player_type%2522%253A%2522site%2522%252C%2522private%2522%253A%257B%2522allowed_to_view%2522%253Atrue%257D%252C%2522privileged%2522%253Afalse%252C%2522role%2522%253A%2522%2522%252C%2522server_ads%2522%253Atrue%252C%2522show_ads%2522%253Atrue%252C%2522subscriber%2522%253Afalse%252C%2522turbo%2522%253Afalse%252C%2522user_id%2522%253D7665776918%252C%2522user_ip%2522%253A%2522142.36.78.245%2522%252C%2522version%2522%253A2%257D%26cdm%3Dwv%26player_version%3D1.4.0
Hopefully the devs will remove this information from it's extension, as it shouldn't be needed. Not trying to scare people away as I'm sure it was just easier for them to implement it this way but still, it is a security risk.
This does not apply to Purple Ad-Block, which only sends the channel name."
Tested this myself and it does leak that information. Haven't tested purple ad block though.
Ads with notify-strip - 24/11/2021
Hi! Since today I am seeing ads that appear both at the beginning of the stream and during. Have you noticed it too?
Shows stream as being "Offline" while they are actually online.
Is using Base ok, or should I use one of the others instead?
The title really asks the question. Is using Base ok?
Dyn-skip no longer working for preroll ads
Yesterday it seems to make it so preroll ads were skipped, but it's not working today.
Twitch Adblock
Hey pixel,
I had been using a really good twitch adblocker that had been working for weeks until today. The extension dissapeared from the both firefox and chrome webstore. Really weird. But I had backed up the chrome extension / exported it as a crx file.
Are you willing to help me set this up and get it working, I'm willing to pay you. Let me know if there's some way I can contact you besides github. Thanks.
Ads leaking through 'notify-strip' / 'notify-reload'
Sometimes these scripts seem to stop working and let preroll ads through (testing on uBlock Origin
, I'm not sure about userscript).
I'm not sure what's going on here, it seems re-applying the script "solves" the issue, but comes back some time later.
(Notify Strip 1.5) Midrolls causes many pause-unpause spurts
It causes the so many of them I counted at lead 15 of those during a streamer-induced midroll and they happened every 1 to 3 seconds. I wonder: is there any way to mitigate it?
'Low-res' connection drops after 30s now?
Right now, I'm using the 'low-res' script, and I'm noticing the stream connection drops after about 30 seconds. Has Twitch successfully managed to block this now?
Suggestion: have the player pause and unpause after an ad ends.
NEVERMIND, Twitch is a butt.
All scripts fail to have any effect
Firefox Developer portable 73.0b12 (64-bit), Tampermonkey 4.11.6117
Maybe it is because I have an old version of firefox and/or tampermonkey, but no matter which userscript I try, ads still play and I get error(s) in the console like this:
Syntax error @ "TwitchAdSolutions"!
##########################
JSHINT output:
##########################
F_a/n</<@eval:3:90
c@eval:2:142
E_u/<@eval:3:259
na@eval line 1 > Function:60:410
create@eval line 1 > Function:72:221
run@eval line 1 > Function:13:205
anonymous/</</<@eval line 1 > Function:73:500
F_a/n</<@eval:3:90
c@eval:2:142
anonymous/</<@eval line 1 > Function:73:483
anonymous/<@eval line 1 > Function:73:510
TM_back@eval line 1 > Function:74:3
anonymous@eval line 1 > Function:74:10
F_a/n</<@eval:3:90
exec_fn@eval:1:144
@eval:12:330
P@eval:11:120
eval line 1 > Function:61:375
na eval line 1 > Function:61
syntaxCheck eval line 1 > Function:23
I eval:11
P eval:11
(Async: Async)
n eval:3
b eval:10
n eval:3
c eval:10
send eval:11
syntaxCheck eval line 1 > Function:23
na eval line 1 > Function:60
create eval line 1 > Function:72
run eval line 1 > Function:13
anonymous eval line 1 > Function:73
n eval:3
c eval:2
anonymous eval line 1 > Function:73
anonymous eval line 1 > Function:73
TM_back eval line 1 > Function:74
anonymous eval line 1 > Function:74
n eval:3
exec_fn eval:1
<anonymous> eval:12
P eval:11
Also this syntax error in tampermonkey wihch may or may not be related?
Any idea what might be causing this?
somes ads is coming throo proxy call
somes ads is coming throo proxy call from russia or ukrania, i think that it could be the page site ads, not from the stream broadcast. can anyone confirm it? does anyone see the purple screen with adblock proxy?
Remove my URL from your Code
Hey there,
could you please remove my URL to my Proxy Server from your Code and your User/uBlock Script.
I have no Problems in Sharing my Chrome Extension but please don't use the URL in other Scripts, it will maybe be changed over time and the old Scripts won't work then anymore, with the Chrome and Firefox Extension i can update them if needed.
There are the official Links to both Versions.
https://chrome.google.com/webstore/detail/twitch-adblock/mipdalemhlhfenbikcloloheedmmecme
https://addons.mozilla.org/de/firefox/addon/twitch-adblock/
AdGuard is using your script, causing conflicts.
Just a heads up, AdGuard has a new "extensions" feature on their desktop app, one of them is called "AdGuard Extra". It basically has your older script and it causes conflicts for both of us.
Their script that they inject into the browsers: (Go straight to the bottom)
https://gist.github.com/saucettv/b6a8b6109034180dab8e6eacb522da25
I'm going to take a guess and say they won't remove it. Can you think of any way we can prevent the conflict?
TTVLOL showing ads
I just got 3 ads while using TTVLOL on Chrome.
Recommendations Purple AdBlock doesent exist
Purple AdBlock - chrome / firefox / code
looks the extension is deleted for firefox
"Oops! We can’t find that page"
This one works
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.