tmarenko / twitch_chat_antiban Goto Github PK
View Code? Open in Web Editor NEWThis extension automatically opens a proxy chat to channels where you are banned.
License: Apache License 2.0
This extension automatically opens a proxy chat to channels where you are banned.
License: Apache License 2.0
For example: 7TV emotes aren't opened when I click on them, chat doesn't stop when I move my mouse
Doesn't work. in the twitch chat a user known as Twitch Chat anti-ban just says Twitch Chat Anti-Ban: Connecting to chat server...
Twitch Chat Anti-Ban: Connected to what ever twitch streamer I'm banned from
However Community list, bits, emotes, the chat button and the redeems are all greyed out and can't be selected, nor can i even type in the chat box since where instead of saying "Send a message" it now says "You've been banned from Chat". Hovering over Community simply says "You may not view Users in Chat while banned" While hovering over the redeem simply shows me how many points i have and all the other ones don't show anything. I'm not sure what the "proxy chat" is supposed to be because i can't see anything that would be like that however i can see the chat and that's the only thing that is working. I would like help getting this to work however i don't know how to get it to work nor do i know where to ask for help. I would also like to note that i am on 2.5
Is there a way to allow the addon to work with the Alternate Player for Twitch.tv addon? That addon loads a local page ( moz-extension://<id-number>/player.html?channel=<channel-name> ) instead of twitch.tv so I assume this is why the addon doesn't currently load on it.
When I install the addon, the stream page ends up loading a blank chat window. I tried completely turning off uBlock Origin in case that was blocking something and it still was not working.
I saw in the code it is using the nightdev chat URL and when I open that up for a specific channel directly, it does work and show chat.
ย
Edit: The popout chat DOES work for me, so it's something about replacing the banned chat page on my end.
If I inspect the chat element in the twitch window vs the popout chat, I can see that the div "chat_box" is empty on the webpage while it has content in the popout chat.
Twitch could easily condemn this extension using the ban evasion argument, even if the extension just let banned users the possibility to read back the chat. And the global ban being pushed by Twitch to even block the stream feed implies that they might be going in this direction? But we're not here to discuss the merits of these measures.
On this basis, the extension existence is already problematic even before it's used.
Based on this principle, why not use Twitch GraphQL API? It's an internal API, so again, Twitch could easily say that using it is at the developers' own risk โ and forbidden when the uses are not to their liking. But we don't really care? The main feature of the extension is working: display back the chat. I propose to support the undocumented Twitch GraphQL API to add secondary features to enhance the proxy-chat. It means a bit of retro-engineering behind https://gql.twitch.tv/gql
.
Client-Id
already used by the frontend. Same for the bearer token.At the moment, I'm only thinking of supporting it to simulate UserCards displayed when a user clicks on an username on the non-banned chat view. I haven't looked at the API schema, but I'm sure other improvements could be implemented with this API.
this is a great tool but it needs to support the emotes for 7tv
Self explanatory LUL , Would be appreciated,
Hi. This extension very recently stopped working for me on Chrome, causing a blank gray chat.
From what I can find I'm getting a 401 Unauthorized on the call to api.twitch.tv/helix/users.
I've tried logging out and in and clearing cookies -- I'm wondering if this is a problem with my browser or if there's some expired token or something on your end? Thanks.
In the next few weeks, Twitch channels will have the option of banning users from WATCHING their streams as well: https://www.techradar.com/gaming/twitch-streamers-will-soon-be-able-to-stop-banned-viewers-from-watching-entirely
My first question is: is it possible for there to be an addon created to avoid this? And my second question is: if it is possible, do you plan on updating this addon? Thanks.
7tv emotes don't work and it makes the chat unreadable.. a lot of channels use it nowadays
The chat shows just fine on twitchtheater.tv, but video does not play. Video plays fine on twitch.tv
Can you enable this addon to work on sites like twitchtheater.tv? I'm not sure how difficult that would be, but it would be enormously helpful. Thank you.
EDIT: After refreshing 15 minutes later it ended up working. I leave this open just in case it may interest you, otherwise just close it :)
Hi,
Here is how it looks like : https://i.imgur.com/L2Qjo1g.png
It worked fine few hours ago, but now it doesn't display anything anymore. (same channels, I tried new ones, doesn't work either)
Maybe it's an issue with the proxy server that isn't reachable or is blocked by Twitch ?
7TV has a new V3 extension which actually unloads the official Twitch webchat and replaces it entirely. This causes a conflict at the moment, where this extension reads the unloaded chat as a ban and starts up, but then the 7TV chat also starts and they overlap.
I think there may need to be an additional element detection added to this extension to actually wait for the text "You've been banned from chat" or something similar to prevent loading on top of the 7TV chat.
As the title says, I'm wondering why this extension went the route of a proxy chat instead of embedding an instance of the streamer's pop-out chat to replace the original chat window. I'm not sure how that would play with logging in and such. Perhaps the pop-out chat could not know about any cookies or something? Not sure how that works.
This might even allow an alt account just for the chats one is banned in. The same could work for streamers which block banned viewers from watching; using a new stream embed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.