Automatically displays replies hidden behind buttons
< Rückmeldungen aufView More Twitter Replies
How exactly isn't it working? This was designed primilary for tweets that were access by external sources like TweetDeck and whose replies are hidden by a "View more replies" link/button. Is this function failing to work correctly, or are you expecting some other functionality which isn't occurring?
I've updated the script so that replies which are hidden behind "Show more replies" and "Show additional replies, including those that may contain offensive content".
Please use the updated version and let me know if it's working for you or not.
Doesn't work at all on latest Firefox + Tampermonkey:
https://twitter.com/Major_Guardian
Test here, I will leave a good rating to show my support if you can tweak it :(
I just checked and it looks like the script's actions are being blocked by the Content Security Policy. I'm not too sure how to fix this issue, but I'll look into it.
Sadly you likely cannot fix this if you already figured out CSP as the issue. Whilst you probably know CSP can be disabled in about:config, it however will lower security across every website visited. This is purely Twitter's doing, to prevent userscript developers from offering scripts like yours. New Twitter seems to hate freedom.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
I've read some fully fledged addons/extensions can modify the CSP header per site. Perhaps someone can code such an addon that only removes CSP for Twitter to keep the rest of the web safe from XSS.
You also gave me a good explanation why ALL of my Twitter userscripts died as of June the 2nd because of this change.
EDIT:
https://addons.mozilla.org/en-US/firefox/addon/spotify-csp-clear/
Such addons seem to exist for other sites, perhaps it can be forked for Twitter, but I cannot promise that I can make it work. Will try!
I just tried it with Violentmonkey and Greasemonkey and it works fine. I think the current version of Tampermonkey is having trouble with CSP on Firefox.
Alright, Tampermonkey was getting bad rep on other sites recently due to closing source. Shame for it becoming less reliable as well.
Guess I migrate and if I get all working I leave a good rating soon.
Edit:
It's done, thanks again!
Doesn't work.