Automatically displays replies hidden behind buttons
< 腳本View More Twitter Replies的回應
Thank you, these modifications work!
Thanks, used your updates to make it work again.
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'] " +
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://gf.qytechs.cn/en/scripts/429224
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
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']";