kwaschny / unwanted-twitch Goto Github PK
View Code? Open in Web Editor NEWHide unwanted streams, games, categories and channels on: twitch.tv
Home Page: https://kwaschny.net
License: MIT License
Hide unwanted streams, games, categories and channels on: twitch.tv
Home Page: https://kwaschny.net
License: MIT License
Could you take the extension to the Chromium edge extension store?
https://microsoftedge.microsoft.com/addons/Microsoft-Edge-Extensions-Home
Browser is Firefox 76.0.1 and addon version is 20.3.22.
Channels on blacklist are showing up again.
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
Hide red 'Live' tag in upper left of stream thumbnails
I am only able to block channels if I can see the thumbnail, but how to do it, if I get a link to a channel and I really want to block it?
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.
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?
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.
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!
Using it in Chrome, addon stopped filtering, at least in the "Live Channels" section.
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.
Hi, I tried this extension on latest Waterfox portable: https://storage-waterfox.netdna-ssl.com/releases/win64/portable/WaterfoxPortable_56.2.2_English.paf.exe
But nothing appears on the address bar or on Twitch.
Maybe it's just incompatible with this version which is using an old Firefox source?
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.
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:
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)
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:
Here's the relevant log/error section: www.twitch.tv-1535230504526.log
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?
Originally posted by @skippah in #22 (comment)
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
Hello, after using the add-on, the Twitch.tv website would no longer load. And I would need to disable it for it to work.
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
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
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.
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?
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 :)
Is there somewhere I can donate to the creator(s) of this? This has seriously changed twitch for me.
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.
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 newest firefox version 65.0
To be expected I guess, could always revert the ff update. Just thought I'd let you know though.
Think I've had this issue since I installed it months ago. Adding categories to the blacklist itself does work, so does the streamer tags (English, WR Attempts etc).
I have to manually add the game names to the blacklist, upon which doing reveals that the blocked game sections are never added thereto, regardless of whether it says so on their respective pages.
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
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.
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.
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
unwanted-twitch/scripts/directory.js
Line 1619 in d1fb803
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.
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?
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.
The channel view just received a new dropdown element to sort by viewers. It messes up the positioning of the UTTV management button.
There was an X button on the thumbnails that allowed me to hide channels while on the browsing pages, that X button is no longer appearing. Have tried restarting/re-adding the extension.
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.
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.
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 :(
We need an option to hide all subscribers-only channels on the channels page. There are two ways to implement this:
Thoughts?
All that carefi; work: gone : (
UTTV WARN: No sidebar items found on the current page.
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?
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
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.