control-panel-for-twitter icon indicating copy to clipboard operation
control-panel-for-twitter copied to clipboard

Variation on "replied" algorithmic tweet

Open southrop opened this issue 3 years ago • 2 comments

Hello again. Thanks for the rapid response on the followee' followers issue!

I found a variation on the "replied" algorithmic tweet that TNT doesn't filter properly, probably because it's a tree of replies.

Sample tweet: No filter chrome_2022-01-26_10-36-52

Hidden image

HTML Source (as txt) receivedrepliestweet.txt

I'm still familiarizing myself with the codebase, but I believe it's because the isReplyToPreviousTweet function only checks the first child element of the reply line area element, and in the case of a tree, the line becomes the second child element (the first child element is the part of the tree). Perhaps this might be resolved by adding a second check to see if border-left-width is 2px?

Here are screenshots of the respective elements highlighted in devtools so you can see the styles too.

chrome_2022-01-26_11-02-48 chrome_2022-01-26_11-03-15

southrop avatar Jan 26 '22 02:01 southrop

When I re-enabled the Home timeline to have a look, I saw even more variations on replies, which disappeared just after I took a screenshot of them, so I couldn't get a look at their markup.

All the replies here should say TWEET / REPLY once they're detected properly:

firefox_t3fLZweqHp

P.S. if you enable debug mode, Tweak New Twitter will show you what it's classified each timeline item as - open the options page, expand the Experiments section and click on the "Find yourself wasting time on Twitter?" paragraph 5 times.

firefox_qRuhG23rMl

insin avatar Jan 26 '22 03:01 insin

Took me a while, but I finally got one like the one you screencapped, and saved the markup of the 4 relevant tweets. The reply thread (2nd and 3rd tweets) looks like a "regular reply thread" that's encapsulated in divs that form the the reply-tree markup.

chrome_2022-01-27_11-04-37 replythreadtree.txt

Unfortunately the twitter algorithm seems intent to never show the same thread tree twice so I've lost it for now...

southrop avatar Jan 27 '22 02:01 southrop

I haven't seen this variation appear since, closing for now. The current functionality for hiding stuff on the Home timeline is really just-in-case prep in case Twitter ever gets rid of Latest Tweets, but to be honest the Home timeline is unfixably bad in comparison

insin avatar Nov 13 '22 11:11 insin