GithubHelp home page GithubHelp logo

tmarenko / twitch_chat_antiban Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 6.0 374 KB

This extension automatically opens a proxy chat to channels where you are banned.

License: Apache License 2.0

JavaScript 95.43% HTML 2.21% CSS 2.36%

twitch_chat_antiban's People

Contributors

haroldm avatar sizableshrimp avatar tmarenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

twitch_chat_antiban's Issues

Help needed!

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

[Request] Work with Alternate Player for Twitch.tv

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.

Can't get addon to work

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.tv page on the left, popout chat on the right:
image

Support of undocumented Twitch GraphQL API

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.

  • Big advantage, we don't need to handle authentication. We can just use the Client-Id already used by the frontend. Same for the bearer token.
  • Disadvantage, usages could break anyday.

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.

7TV Support

Self explanatory LUL , Would be appreciated,

401 error on Twitch API call

Hi. This extension very recently stopped working for me on Chrome, causing a blank gray chat.

7d0b8b4790bd3aae7ea84135dee20cd2

From what I can find I'm getting a 401 Unauthorized on the call to api.twitch.tv/helix/users.

cc2887740927c44939d195a19ba813be

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.

The addon doesn't work on twitchtheater.tv

image

See screenshot. It says it's connected to #embed but it doesn't show the chat. I have twitch.tv open in a second window and it works just fine on that site, but not on twitchtheater.tv

7tv emotes don't work

7tv emotes don't work and it makes the chat unreadable.. a lot of channels use it nowadays

Request

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.

It worked but not anymore (shows nothing)

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 ?

New 7TV V3 extension conflict

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.

Would it be possible to use an instance of a pop-out chat as the replacement of the original 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.