control-panel-for-twitter
control-panel-for-twitter copied to clipboard
Variation on "replied" algorithmic tweet
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
Hidden
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.
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:
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.
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.
Unfortunately the twitter algorithm seems intent to never show the same thread tree twice so I've lost it for now...
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