Greasy Fork is available in English.

View More Twitter Replies

Automatically displays replies hidden behind buttons

< Feedback on View More Twitter Replies

Review: OK - script works, but has bugs

§
Posted: 17. 05. 2021

Hi. Script is okay on Firefox + Tampermonkey, but Twitter has made some changes, so in order your script works well, please make the following amendments in the code:

1. Remove string "[data-focusable='true']" for offensiveSelector.
2. Update moreRepliesSelector code:
const moreRepliesSelector = "[role='button']" +
"[tabindex='0']" +
"[class='css-18t94o4 css-1dbjc4n r-1777fci r-1pl7oy7 r-1ny4l3l r-o7ynqc r-6416eg r-13qz1uu']";

§
Posted: 23. 09. 2021

Thank you, these modifications work!

§
Posted: 28. 01. 2023

Thanks, used your updates to make it work again.

§
Posted: 05. 07. 2023

Thanks for this! I’d recommend making one additional alteration since this script no longer loads hidden “offensive” replies due to Twitter changing its code around again.

Go to the “const offensiveSelector” section and update the “[class^=...” string to the following:

"[class^='css-18t94o4 css-1dbjc4n r-1niwhzg r-42olwf r-sdzlij r-1phboty r-rs99b7 r-15ysp7h r-4wgw6l r-1ny4l3l r-ymttw5 r-f727ji r-j2kj52'][class$='r-o7ynqc r-6416eg r-lrvibr'] " +

§
Posted: 05. 07. 2023

Thanks for this! I’d recommend making one additional alteration since this script no longer loads hidden “offensive” replies due to Twitter changing its code around again.

Unfortunately, this script has not been updated for a long period of time, so I created my own. Please try, maybe it helps you: https://greasyfork.org/en/scripts/429224

Post reply

Sign in to post a reply.