Giter Club home page Giter Club logo

unwanted-twitch's People

Contributors

abbit avatar commanderroot avatar dauwjonas avatar josesm avatar kwaschny avatar obunden 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar

unwanted-twitch's Issues

[Option] Redirect to homepage when arriving at the page of a blocked streamer

With the Raid/Host Features, it's possible that after lurking for quite some time you suddenly end up watching a streamer you actually blocked.

So an Option would be good that either prevents the host/raid from happening if the target is a blocked streamer or just sends the user back to the homepage after the raid/host.

And thanks for this awesome tool

Frontpage broken

Hi there, it looks like a Twitch update has broken this amazing extension again. I'm running it on Edge via the Chrome store. Worked great a couple days ago, but now it doesn't block or show up on the main page at all, even with no other extensions running. Thank you.

msedge_Hrr3mhcU3C

The blacklist isn't updating if I remove something.

I am currently using Firefox 72.0.1 (64-bit), which is not the current version. I seem to recall having similar problems with an older version on another computer last year, which makes me hesitant to believe the following problem could be solved by a simple update. But here's my problem:

When I manage the blacklist and have it synchronized via a cloud, the list keeps what's blocked. But if I mistakenly click an X on a specific stream or category, if I want to remove them, as soon as I click on Save and it tells me to reload the tab, as soon as the tab is reloaded the streams and categories I want unblocked remain blocked.

In the hopes of trying to quickly solve this issue, I tried having my list not synchronized via whatever outside storage is being used, and all it does when I update or import my list is leave the entire list blank after saving. I also tried uninstalling and reinstalling the plugin, and the same problems persist (whether I synchronize with the "cloud" or not).

I'm not sure if I'm missing something or if I messed up a setting somewhere that is causing this problem to happen.

Blacklist seems to have been wiped

I had recently looked at my black list and there were ~80k blocked channels, ~1k each blocked categories and titles, and maybe like 20 blocked tags. Today I noticed channels popping up that I would've figured I'd blocked, and when I looked at the blacklist I now see just 400 blocked channels and 1 blocked category.

I use local storage since sync storage is a lot smaller(?). And if it is some sort of clue, I'm pretty sure I blocked the one category in there now on Jan 1. So I suspect the trouble happened New Years eve or day.

Is there some way the list can get wiped out? Some weird case viewing the blacklist, or some one in a million threading thing?

I think I've seen a test case with more things blocked than my numbers above, but is there some other way it ran out of storage space and got in trouble? I don't think I've done anything to clear out local storage, but maybe it was triggered somehow? Like does Chrome clear local storage Jan 1? :P

Is the list backed up somewhere when using local storage so that I could get it back?

Blocking channels on main page & whole Games

I've blocked the "Game" ASMR, but on the main page, there are still recommendations of ASMR channels. Is it possible to go to a Game page like https://www.twitch.tv/directory/game/ASMR and click a button, "block all channels in ASMR"? Because that's what I did by hand and it took a while. But this fixed the problem to get those ASMR channels on the main page. Or might it be possible to block all blacklisted games on the main page?

A "hide channel" button for channels which are shown on the main page, does not exist.

Add Alternative way to toggle "hide" buttons

Hi! Love the add-on!

I'm not a huge fan of page-action buttons even when they make sense for add-ons like yours which is only active on one domain. I usually just remove them.

Problem is there is not alternative way to toggle the "hide" buttons. It would be cool if you could add the option to show a toggle in the header bar of the Twitch page itself. Or just have a classic add-on button act as a toggle which we can hide in the overflow menu until it is needed.

Thanks!

New Twitch Layout

Extension pages on Chrome Web Store and Firefox Add-ons are disabled for now. I need some time to check the changes Twitch made to the new layout. Let's see if adjusting the selectors is good enough. Anyway, I'll need some time to work on that.

Twitch site update broke the plugin

As the title says, plugin broke a couple hours ago with a Twitch site update. The plugin currently doesn't hide anything that is already blacklisted (as far as I can tell), and clicking on the X on any stream causes an empty/blank entry to be added to the "blacklisted channels" list, which then causes every single streamer to be filtered out endlessly till that broken entry is removed or the plugin is disabled.

Browser is Vivaldi 2.11.1811.33 (yet another chrome clone basically)
Not using any other plugins affecting twitch, but apparently betterttv also broke.

emptyentry

Blacklisted Channels appearing in Recommended Channels

I don't have a format, so I apologize if there's information I'm leaving out.

As the title says, blacklisted channels are appearing in the Recommended Channels section of the Following page. The X appears to add them to the blacklist, and clicking it does add the user to the black list (checking via the Manage Blacklists button), but it doesn't hide the user. Multiple refreshes and hard-refreshes didn't fix the issue.

Just to check if it was an issue with the specific channel, I tried two things:

  1. Viewing the category for the channel that is blacklisted. The user appears in the list for a split-second and is removed after the page finishes loading, as normal.
  2. Adding a new user to the blacklist. This does not remove the user from the Recommended Channels section, but viewing the category for the new channel also shows the new channel removed after the page finishes loading.

I suspect something changed in the structure of the Recommended Channels section, but I'm not familiar with how you're currently fetching them so I don't know what info would help.

Windows 10
Firefox 82.0.1 (64-bit)

Compatibility with FFZ

It appears that this project has some issues working alongside FrankerFaceZ.

When either FFZ or this extension are enabled without the other I can load the main directory just fine. But when they're enabled together all of the streams disappear. Here's a recording:

2018-08-25_15-44-52

Here's the relevant log/error section: www.twitch.tv-1535230504526.log

Frontpage suggestions

Hi. First of all, I would like to "say" thank you for your work.
Blocked channels no longer appear in the "Recommended Live Channels" list, but they leave an empty space in the live channels list (See Attachement)

Would an additional function be possible to block streams directly in the "carousel" and in the "Recommended Live Channels" list?

Twitch Screen

Originally posted by @skippah in #22 (comment)

Allow regex to be used on Blacklisted Channels

Allowing regex to be used on channels will help filter out the bots that re-stream for popular users.

Example below is a list of bot channels I have had to blacklist so that they do not appear at the top of popular stream categories. Regular expressions could easily filter out these examples instead of adding each one individually.

shroudbkep
shroudcdh
shroudexbq
shroudfqbl
shroudied
shroudkta
shroudlisx
shroudlob
shroudlqv
shroudltdu
shroudmahs
shroudmjpp
shroudnjaj
shroudov
shroudryk
shroudtmwe
shroudtvfv
shroudtynv
shrouduazl
shroudysvz

Hide streams based on viewer count

Sometimes you don't want to see streams with either too low or too high of a viewer count, a feature which would allow you to configure this would be awesome

Inverse method of blocking possible?

The current implementation allows everything but what is blocked by the user.

Is it possible to do the inverse? That is block everything but what is allowed?

For example block all channels but those with the "English" tag

New permission: "Read your browsing history"

I was just notified that this extension needed permission to read my browsing history, which kind of crosses a line IMO.

I see you added tabs as a permission in 52dd39e which is what triggered it(had to check the permission warnings list to figure out that was the cause).

IMO it'd be best to avoid that kind of thing as it will cause a lot of privacy minded people to remove the extension.

Maximum blacklisted channels?

It seems new items I add to the blacklist are not sticking. I am at ~16K blocked channels, so that makes me suspicious that is the maximum number of blacklisted channels? Seems to be the same with and without using cloud storage. Is that indeed the max, or is something else going on maybe? If so, is it possible to increase the max?

Feature request: Hide in "Following" page

Again with a weird request - we can already hide super popular channels but I would really like if we can hide live streams on our Following page (on Overview or Channels).

Thanks again for this great extension :)

Donation

Is there somewhere I can donate to the creator(s) of this? This has seriously changed twitch for me.

Hiding all streams without a game/category set

Hello,

Issue #19 talked about filtering out streams with "Untitled Broadcast" or no category specified.

Would it still be possible to filter out the streams without a category? I'm indeed using the low to high sorting, and it's a bit of a hassle going through the sea of 0 viewer streams without a game set.

Settings don't save

When I added a category or channel into the options and hit add and click save and then reload the options page, whatever I added disappears.

Chromium 83.0.4103.61

doesn't work with new firefox update

Doesn't work with newest firefox version 65.0
To be expected I guess, could always revert the ff update. Just thought I'd let you know though.

Request: Support for hiding tags

Twitch rolled out their new tagging system and I think this presents an opportunity to expand this extensions scope.

For example:

image

I don't want to block the "Special Events" category entirely, but I have 0 interest in streams tagged "Football".

UTTV ERROR: Could not find the expected parent node to remove item

I'm using Firefox 69.0.3 on Windows 10, using version 19.10.10 of the add-on.

<a class="tw-interactive tw-link" data-a-target="preview-card-image-link" href="/[streamer]">common.js:225:16
    logError moz-extension://be042b79-0392-4434-b771-d80726f0420a/scripts/common.js:225
    removeItem moz-extension://be042b79-0392-4434-b771-d80726f0420a/scripts/directory.js:2347
    filterItems moz-extension://be042b79-0392-4434-b771-d80726f0420a/scripts/directory.js:1640
    filterDirectory moz-extension://be042b79-0392-4434-b771-d80726f0420a/scripts/directory.js:857
    onPageChange_waitingForPageLoad moz-extension://be042b79-0392-4434-b771-d80726f0420a/scripts/directory.js:493

add 'comment' prompt/field to bans

would be great if you could implement an optional prompt that comes up when we ban someone.
when I see the languages and the rest I don't like, it's clear why I ban, but not if I want to go through the list eventually.
Maybe I'll feel different about something down the line, and don't want to start from the start ie clear the ban list.

a on-the-fence list would be great too (default one). In other words: for there to be a perma-ban list.

Sidebar not filtered while on actual stream.

Based on the readme's "supported pages" section and getItemType()/isSupportedPage()/onPageChange(), it seems like there's intentionally no filtering going on when on an actual stream's page even though the sidebar is visible. Is there a problem with filtering the sidebar on other pages?

I tried calling filterSidebar() and observeSidebar() in the case where it bails out early in onPageChange() just to very quickly test and it appears to work and not cause problems.

Blocked channels show in recommended channels in sidebar when "also filter followed channels" is off.

I'm using 19.6.27 on Firefox nightly. In my console, I see the following: UTTV WARN: Sidebar items not found. Expected: div.side-nav div.tw-mg-b-2 .side-nav-card:not([data-uttv-hidden])

It looks like the selector at

itemsSelector = 'div.side-nav div.tw-mg-b-2 .side-nav-card:not([data-uttv-hidden])';
is broken. Checking the HTML from Twitch, it looks like maybe it should now be div.side-nav div.recommended-channels .side-nav-card:not([data-uttv-hidden]).

The code path for when filtering followed channels uses just div.side-nav .side-nav-card:not([data-uttv-hidden]), which works fine.

Improving "hide stream reruns" function with an extra title filter

Hello,

Most rerun streams don't use the Twitch "RERUN" function and straight broadcast as "LIVE" with a "RERUN:" or "[RERUN]" in title.
Could it be possible to also add a title filter of these cases when using the "hide stream reruns" function?

Regard, thanks!

example
Capture

Make hide options toggleable

As suggested by /u/ymrjftw.

[...] is there a possibility of having a toggle show/hide option for the x's over channels thumbnails and tags while browsing directories?

[Feature Request] Hide broadcasts with certain keywords

Certain channels I follow will broadcast a rerun but put the word "RERUN" in their title, without actually having it tagged/listed as such. I would love to be able to filter these out.

Having this be a wildcard expression/regex would be a more generalized solution.

Feature request: hide reruns

Some streamers use Twitch feature to broadcast VODs. When browsing available broadcasts Twitch shows both "Live" and "Rerun" broadcasts. Some users prefer to never watch "Reruns", and their presence only distracts them, when browsing through available broadcasts.

Request: Import and export list

It would be a very useful feature to import and export the whole list (in a merge-friendly file) to share it with friends, to publish it or just to use it for several systems.

Feature reqest: Remove X and add the blocking to context menu....

Please remove the overlay X and add the blocking to rightclick/context menu to declutter the already cluttered twitch overlay...
As it is now, it just flotes abow the playtime and looks bad...and this function is not needed to be visible all the time ?

Maybe move it to the right side in the "tw-media-card-meta__links" field... right of the channel/streamer name field ?

Another thing... How to acces the options if you remove the extension from the addresfield? .. cant find a way to get to the settings without removing all traces of the extension and reinstall it :(

Hide subscribers-only channels

We need an option to hide all subscribers-only channels on the channels page. There are two ways to implement this:

  1. I can make the "subscriber-only" tag blockable like other tags.
    (That might be tricky due to the label being localized.)
    - OR -
  2. I can add an option to the settings that can be toggled.
    (Probably the best idea as it allows blocking related features that might be added on Twitch in the future.)

Thoughts?

news & discussion on reddit

filter for all channels in subscribers-only mode

Request: Hide all channels titled "Untitled Broadcast", and/or with category "Not specified"

Is this a reasonable/achievable feature? The channels listing often features numerous obviously infringing sports broadcasts, made with dummy accounts and almost always without titles or categories set. All real channels seem to set at least one or the other. These get banned but of course pop right back up with a different channel name. I couldn't find a way to hide these across the board with the base features. Thoughts?

Include Note for NoScript Users to "Trust"

Just an FYI you might want to include a blurb by the checkbox to "Hide Stream Reruns" for NoScript users to set d2v02itv0y9u9t.cloudfront.net to "Trusted" in order for it to work.

Thanks for making this! Hiding those is literally the only feature I wanted

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.