Bl4Cc4t / GoodTwitter2

Userscript to modify the looks of twitter.com
496 stars 63 forks source link

Option to disable views counter? #510

Closed dankxen0n closed 1 year ago

dankxen0n commented 1 year ago

this new feature twitter just added is probably gonna make my (and other people using this's) anxiety skyrocket so itd be nice to have a feature to get ridda it if at all possible

TechoGit commented 1 year ago

https://gist.github.com/wukko/5c34f690986fc0e85b2f1aeaacc08d7c

could be add to this since its just css related, if you use ublock or anything like that you can import that into the "My filters" sections"

hope this is useful

geyerbri commented 1 year ago

I don't know if you're interested in extending this enhancement further, but the views counts are presented in a different way on individual tweets, rather than the way on the timeline or as replies:

image

I would imagine blocking the analytics for this spot would be just as easy?

Bl4Cc4t commented 1 year ago

argh, missed that one :) thanks for the heads up!

geyerbri commented 1 year ago

Hi again. I'm not sure what's going on (and this is, once again, very minor), but I think there's some strange conflict between the most recent fix for this issue and the previous fix for #505.

When I initially click on a tweet, there's now no source label and the view counter is still there.

image

But if I try refreshing multiple times (sometimes a lot of refreshes, or maybe it's time-based?), the tweet eventually loads with the source label restored and no view counter.

image

I've tried clearing my cache, as well as toggling off the 'Hide public analytics for tweets' option, closing Twitter, reopening, then toggling back on that option, but this issue persists.

Bl4Cc4t commented 1 year ago

Looks like I accidentally added a race condition... Thank you so much for actually testing what I put out, it's really appreciated!