Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitch Adblock #22

Closed
c133 opened this issue Mar 31, 2021 · 61 comments
Closed

Twitch Adblock #22

c133 opened this issue Mar 31, 2021 · 61 comments

Comments

@c133
Copy link

c133 commented Mar 31, 2021

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.

@ImpalaPUA
Copy link

The extension would still work, you would need the code that chooseneye had on his site choosen.dev

@c133
Copy link
Author

c133 commented Mar 31, 2021

@ImpalaPUA lol mind read much. Do you know what happened, did he get some kind of cease and desist or something? Have you found a comparable solution? From what you are saying I don't think the crx backup of the chrome extension is enough

@ImpalaPUA
Copy link

It's not enough no, you should ask him here what happened

https://twitter.com/ChoosenEye

And post it here, since I don't have a twitter

@ChoosenEye
Copy link

Twitch Adblock is gone.
There will be no new version.
Sorry

@ImpalaPUA
Copy link

Twitch Adblock is gone.
There will be no new version.
Sorry

Did they lawyer you or was the cost too high to run?

@c133
Copy link
Author

c133 commented Apr 1, 2021

Twitch Adblock is gone.
There will be no new version.
Sorry

Are you willing to sell your code, your extension literally improved my quality of life I'm not joking

@ImpalaPUA
Copy link

You got the m3u8 from lets say a VPN in a country twitch doesn't run ads to, and swapped it when you loaded a twitch stream no?

@c133
Copy link
Author

c133 commented Apr 1, 2021

You got the m3u8 from lets say a VPN in a country twitch doesn't run ads to, and swapped it when you loaded a twitch stream no?

what are you using now

@CodeMeZone
Copy link


  //fck pixeltris :)
  chrome.cookies.set({
    name: "auth",
    domain: ".choosen.dev",
    httpOnly: true,
    value: Date.now().toString(),
    url: "https://choosen.dev",
  });

  if (match !== null && match.length > 1) {
      var req = new XMLHttpRequest();
      req.open("GET", `https://choosen.dev/stream/auth`, false);

      req.send();

      if (req.status >= 400) {
        return { redirectUrl: details.url };
      } else {
        return { redirectUrl: `https://choosen.dev/stream/${match[1]}` };
      }
    }
}

chrome.webRequest.onBeforeRequest.addListener(
  onBeforeRequest,
  { urls: ["https://usher.ttvnw.net/api/channel/hls/*"] },
  ["blocking", "extraHeaders"]
);

Seems like @ChoosenEye dtopped it all.

@c133
Copy link
Author

c133 commented Apr 1, 2021

I will pay someone to get this working again

@JigsLove
Copy link

JigsLove commented Apr 1, 2021

@ChoosenEye Hello Sir, at least tell us the reason why you removed it from the store. It was the best ad blocker for twitch. Thank you Sir.

@JigsLove
Copy link

JigsLove commented Apr 1, 2021

@c133 Yes bro, I'm also missing that great extension.

@finiteLimit
Copy link

I'm curious - what country was the proxy in? From my understanding, this extension is based on fetching the .m3u8 file using a proxy in another country, a country which does not server Twitch ads. Which country (or countries) would that be?

@racheljcorey
Copy link

I'm curious - what country was the proxy in? From my understanding, this extension is based on fetching the .m3u8 file using a proxy in another country, a country which does not server Twitch ads. Which country (or countries) would that be?

Hopefully this helps someone else out who will continue development on this great extension:

I used my VPN to load Twitch from different countries, and although ads are served to me when connecting to any VPN from within the US, ads are not served when connecting from Israel. Hopefully this helps!!

@guniu
Copy link

guniu commented Apr 1, 2021

Damn, I just realized how unwatchable twitch is.

@ANaPhOrAX
Copy link

@ChoosenEye Hello Sir, at least tell us the reason why you removed it from the store. It was the best ad blocker for twitch. Thank you Sir.

why do you think? twitch threatened him, obviously.

@chrcoluk
Copy link

chrcoluk commented Apr 1, 2021

Why would he start an extension that works and then pull it down without stating a reason?

Clearly someone from twitch/amazon got involved.

@finiteLimit
Copy link

I'm curious - what country was the proxy in? From my understanding, this extension is based on fetching the .m3u8 file using a proxy in another country, a country which does not server Twitch ads. Which country (or countries) would that be?

Hopefully this helps someone else out who will continue development on this great extension:

I used my VPN to load Twitch from different countries, and although ads are served to me when connecting to any VPN from within the US, ads are not served when connecting from Israel. Hopefully this helps!!

Do you know if there are any other countries besides Israel which do not receive Twitch ads?

@pixeltris pixeltris changed the title pixeltris Twitch Adblock Apr 1, 2021
@pixeltris
Copy link
Owner

pixeltris commented Apr 1, 2021

@finiteLimit people had previously documented geographical locations here and here. Nothing is fool-proof with regard to VPNing, so you'll need to experiment yourself.

I think it would be useful if there was chrome/firefox extension code in this repo for those who wish to go with m3u8 proxying via VPS/VPN. It should essentially be just this, but needs manifest / changes for firefox.

It's a shame to see Twitch Adblock go. Hopefully it'll come back at some point, or something takes its place.

@c133
Copy link
Author

c133 commented Apr 1, 2021

@pixeltris Choosen claims the method stopped working which is why he took down the extension. Is there any way to actually verify that this method doesn't work anymore? It's more believable that he got threatened by twitch or amazon judging by the way his extension quickly disappeared from the internet. Anyway I am willing to pay you if you can get that method working again.

@pixeltris
Copy link
Owner

pixeltris commented Apr 1, 2021

The method used in Twitch Adblock wasn't public. It didn't use specific countries to bypass ads and was instead a custom workaround to avoid ads.

I haven't tried VPS/VPN to host an m3u8 proxy in a while, but it should still work. @ceejayc7 mentioned 3 days ago that it's still working. I'll look at creating some code + simple instructions so people can try themselves with less effort.

As mentioned previously; having a single server with Turbo access should in theory work to provide m3u8 urls without ads. This could have been the method that Twitch Adblock used, I have no idea.

@WhiteShyGuy
Copy link

ok ok ok

@yourfriendaaron
Copy link

yourfriendaaron commented Apr 1, 2021

@ChoosenEye Hello Sir, at least tell us the reason why you removed it from the store. It was the best ad blocker for twitch. Thank you Sir.

why do you think? twitch threatened him, obviously.

or amazon just paid him. no disrespect to the guy if that's the case, though. i'd be pretty tempted, too.

@AndreyAsadchy
Copy link

So twitch just DMCA'd my android app Xtra for Twitch with 230k users after i published a beta update testing my new adblock method. I guess the reason is because i was dumb enough to mention it in the changelog, since other alternative apps are fine.

@racheljcorey
Copy link

So twitch just DMCA'd my android app Xtra for Twitch with 230k users after i published a beta update testing my new adblock method. I guess the reason is because i was dumb enough to mention it in the changelog, since other alternative apps are fine.

That SUCKS!!! I loved using Xtra too!!! I'm so sorry to hear that. :(

@liamengland1
Copy link

@AndreyAsadchy dang. Did they specifically mention that in the notice?

@AndreyAsadchy
Copy link

@llacb47 No, only that the app "infringes Twitch’s copyrights to exclusive broadcast content from www.twitch.tv as well as copyrights in Twitch’s Developer Materials made available under the Twitch Developer Services Agreement".

@bingoxo
Copy link

bingoxo commented Apr 2, 2021

don't know if it's useful for anyone but here is the latest version before he removed it from chrome store

https://mega.nz/file/1MYh1aKB#YZOjHh2qw-CjMFuo-ahErAvuwLxxi9_s6b3yOedoR7w

edit : link updated

@jsgueglia84
Copy link

don't know if it's useful for anyone but here is the latest version before he removed it from chrome store
https://mega.nz/file/fU9wzCBI#YZOjHh2qw-CjMFuo-ahErAvuwLxxi9_s6b3yOedoR7w

The file has been removed from Mega upload.

post new ? does old version still work?

@kaede-monthmore
Copy link

People posting Chrome version but nothing about Firefox version... Well, here, in this forgotten browser, everything works good.
https://drive.google.com/file/d/1TyREnxhmEbPDuyonrByHiOh7gYS133Gk/view?usp=sharing

@arthurbolsoni
Copy link

if buy the twitch turbo can sign the urls and return by a server. this could work i think

@jsgueglia84
Copy link

People posting Chrome version but nothing about Firefox version... Well, here, in this forgotten browser, everything works good.
https://drive.google.com/file/d/1TyREnxhmEbPDuyonrByHiOh7gYS133Gk/view?usp=sharing

The chrome version posted is a dead URL!!!! Can you please post Chrome?

@gatsuslayer
Copy link

don't know if it's useful for anyone but here is the latest version before he removed it from chrome store

https://mega.nz/file/fU9wzCBI#YZOjHh2qw-CjMFuo-ahErAvuwLxxi9_s6b3yOedoR7w

Can you reupload it again? the link is down

@bingoxo
Copy link

bingoxo commented Apr 8, 2021

don't know if it's useful for anyone but here is the latest version before he removed it from chrome store
https://mega.nz/file/fU9wzCBI#YZOjHh2qw-CjMFuo-ahErAvuwLxxi9_s6b3yOedoR7w

The file has been removed from Mega upload.

don't know if it's useful for anyone but here is the latest version before he removed it from chrome store
https://mega.nz/file/fU9wzCBI#YZOjHh2qw-CjMFuo-ahErAvuwLxxi9_s6b3yOedoR7w

The file has been removed from Mega upload.

post new ? does old version still work?

People posting Chrome version but nothing about Firefox version... Well, here, in this forgotten browser, everything works good.
https://drive.google.com/file/d/1TyREnxhmEbPDuyonrByHiOh7gYS133Gk/view?usp=sharing

The chrome version posted is a dead URL!!!! Can you please post Chrome?

People posting Chrome version but nothing about Firefox version... Well, here, in this forgotten browser, everything works good.
https://drive.google.com/file/d/1TyREnxhmEbPDuyonrByHiOh7gYS133Gk/view?usp=sharing

The chrome version posted is a dead URL!!!! Can you please post Chrome?

don't know if it's useful for anyone but here is the latest version before he removed it from chrome store
https://mega.nz/file/fU9wzCBI#YZOjHh2qw-CjMFuo-ahErAvuwLxxi9_s6b3yOedoR7w

Can you reupload it again? the link is down

Link updated

@pixeltris
Copy link
Owner

It's probably best to not use external links as they can die (as already observed). I'll reupload both of the above (encased in a zip as required by github):

chrome taken from the post by @bingoxo
extension_2_2_0_0.zip

firefox taken from the post by @Kaederoth
{dfabfeb8-4edf-4296-ba99-de1bc071c7c3}.zip

@c133
Copy link
Author

c133 commented Apr 8, 2021

It's probably best to not use external links as they can die (as already observed). I'll reupload both of the above (encased in a zip as required by github):

chrome taken from the post by @bingoxo
extension_2_2_0_0.zip

firefox taken from the post by @Kaederoth
{dfabfeb8-4edf-4296-ba99-de1bc071c7c3}.zip

Aren't these extensions essentially useless since we don't have Choosen's server side code?

@pixeltris
Copy link
Owner

pixeltris commented Apr 8, 2021

@c133 yes, however it's a useful starting point for those who want to host their own m3u8 proxy server (obviously additional code needs to be written to make such a proxy server)

@arthurbolsoni
Copy link

i am trying replicate the server. but i had receiving the CORS error on set in twitch.

@CodeMeZone
Copy link

i am trying replicate the server. but i had receiving the CORS error on set in twitch.

Maybe we can get a github going so some of us can help out?

@arthurbolsoni
Copy link

arthurbolsoni commented Apr 9, 2021

call me on discord @knightbrowser#9246 , or this server https://discord.gg/WuV9ECeB

@FrostySo
Copy link

So twitch just DMCA'd my android app Xtra for Twitch with 230k users after i published a beta update testing my new adblock method. I guess the reason is because i was dumb enough to mention it in the changelog, since other alternative apps are fine.

Hey man, I hope you can find a solution to bring this app back. I use this pretty much daily. One of the best twitch apps hands down. Perhaps you could have some sort of plugin support, that gives you access to hmm I don't know, intercept the network in order to create an adblock plugin. That might in theory, get rid of future DMCA requests from twitch. I'm no lawyer or anything, so I don't know if it's possible for you to bring this app back under the same name, or if at all (I hope you can).

I cannot believe twitch is going through all this trouble to spam everyone with ads. They are really irritating and I no longer use twitch because of it (unless it is resolved again).

Sucks that this world has come to this. Twitch should focus on making their platform better, instead of worse.

@arthurbolsoni
Copy link

arthurbolsoni commented Apr 10, 2021

someone know a proxy/vps for i purchase in country without ads?

@bingoxo
Copy link

bingoxo commented Apr 10, 2021

someone know a proxy/vps for i purchase in country without ads?

Lowendbox.com

@revunix
Copy link

revunix commented Apr 10, 2021

I have two very cheap KVM servers in Russia and Ukraine.

@jamesdrudolph
Copy link

jamesdrudolph commented Apr 11, 2021

someone know a proxy/vps for i purchase in country without ads?

Amazon AWS free-tier in Bahrain does not give ads, I have been using it for 1-2 weeks now and have not seen any.

@AndreyAsadchy
Copy link

So twitch just DMCA'd my android app Xtra for Twitch with 230k users after i published a beta update testing my new adblock method. I guess the reason is because i was dumb enough to mention it in the changelog, since other alternative apps are fine.

Hey man, I hope you can find a solution to bring this app back. I use this pretty much daily. One of the best twitch apps hands down. Perhaps you could have some sort of plugin support, that gives you access to hmm I don't know, intercept the network in order to create an adblock plugin. That might in theory, get rid of future DMCA requests from twitch. I'm no lawyer or anything, so I don't know if it's possible for you to bring this app back under the same name, or if at all (I hope you can).

I cannot believe twitch is going through all this trouble to spam everyone with ads. They are really irritating and I no longer use twitch because of it (unless it is resolved again).

Sucks that this world has come to this. Twitch should focus on making their platform better, instead of worse.

Google denied my appeal. If you want, you can follow my subreddit r/XtraForTwitch, maybe i will upload the app to other stores like from samsung etc.

@pixeltris
Copy link
Owner

https://github.com/TTV-LOL/extensions this popped up which looks like a direct replacement for Twitch Adblock. They mention here that Firefox is coming soon.

I've listed it as the recommended solution in the README due to the method used, but I haven't personally tried it myself.

@AndreyAsadchy if you could ping me when there are links available, that would be useful to add to the Other solutions in the README of this repo. Not sure why I didn't have it there whilst it was still on Google Play...

@c133
Copy link
Author

c133 commented Apr 11, 2021

https://github.com/TTV-LOL/extensions this popped up which looks like a direct replacement for Twitch Adblock. They mention here that Firefox is coming soon.

I've listed it as the recommended solution in the README due to the method used, but I haven't personally tried it myself.

@AndreyAsadchy if you could ping me when there are links available, that would be useful to add to the Other solutions in the README of this repo. Not sure why I didn't have it there whilst it was still on Google Play...

Thank you <3 trying it now

@FrostySo
Copy link

Google denied my appeal. If you want, you can follow my subreddit r/XtraForTwitch, maybe i will upload the app to other stores like from samsung etc.

Sure. Followed.

Hopefully you give a direct download as well, cause I don't own a samsung phone and don't plan on owning one. If you want, maybe possibly open source your project (or partially have it open) for others to help contribute with it. It really has a lot of potential! I really hate twitch :(

Repository owner deleted a comment from AlexWatsonnn Apr 13, 2021
Repository owner deleted a comment from arthurbolsoni Apr 13, 2021
@arthurbolsoni
Copy link

https://github.com/arthurbolsoni/Purple-adblock/

i do that extension and i am doing for keep online. i gonna publish the code too. it is in firefox and google store. pls help me with code or donation

@revunix
Copy link

revunix commented Apr 15, 2021

@arthurbolsoni very nice! which server location and which provider?

@arthurbolsoni
Copy link

@arthurbolsoni very nice! which server location and which provider?

i paying a from russia. but i am open for another ideia location.

@revunix
Copy link

revunix commented Apr 15, 2021

i paying a from russia. but i am open for another ideia location.

Thanks fyi :)

@arthurbolsoni
Copy link

arthurbolsoni commented Apr 15, 2021

Thanks fyi :)

If you find bug pls report. i have a lot of ideias for the project

@pixeltris
Copy link
Owner

Closing this. As mentioned there are now two direct replacements for Twitch Adblock (TTV.LOL / Purple AdBlock) which are linked in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests