Open cuducos opened 2 years ago
I prototyped it in a terrible way because it depends on internationalized text, but it works…
Array.from(document.querySelectorAll('span'))
.filter((el) => el.textContent.includes("liked your Tweet"))
.map((el) => el.closest('article').remove())
And the same with the 'liked your Retweet'
and 'liked a reply to your Tweet'
.
Would adding an option to make "Mentions" the default Notifications tab instead of "All" (by clicking it for you as soon as you navigate to /notifications) do the trick?
Filtering content on Twitter is a bit more involved, as we have to keep watching for new content being loaded and hide it in a way which doesn't break the windowing which is used to render infinite lists of content.
I understand this might be really interesting for many people, however, that's not helpful for me.
One of the most relevant forms of “engagement” I keep track of is RTs. Depending on who retweets something I might take action (usually, if an account of great exposure, let's say +50k followers something I might restrict who can reply to that tweet, or turn off notifications for example).
Filtering content on Twitter is a bit more involved, as we have to keep watching for new content being loaded and hide it in a way which doesn't break the windowing which is used to render infinite lists of content.
BTW, as a developer, I understand what a challenge this might be. My previous message was just me being the user hahaha… so, please, don't get me wrong. I wasn't dismissing any of the hard work involved in this extension 💜
It'd be useful to be able to do this for specific tweets only.
First of all, thanks for this amazing plugin!
This is just a simple feature request: is it in the plans to have the option to hide the likes in the Notification tab (so we just see replies and RTs, basically)? Maybe filtering cards (
<div>
) that have text like liked your Tweet or something? IDK, just suggesting it : )