trusted-replace-outbound-text #3292
Replies: 1 comment 5 replies
-
If I use |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm testing this filter -
www.reddit.com##+js(trusted-replace-outbound-text, JSON.stringify, /^.*csrf_token.*$/, '{"source:global","screen":{"height":0,"width":0}","view_stats":{"comments":0}}')
as a fix for https://github.com/uBlockOrigin/uBlock-discussions/discussions/819#discussioncomment-7218569 and it does what I want it to do,but server responds with 400 status(Internel server error), is it because this payload is not in JSON format ? If yes, then how to convert to JSON format ?Internal Server error issue fixed with this version --www.reddit.com##+js(trusted-replace-outbound-text, JSON.stringify, /^.*csrf_token.*$/, '{"source": "global","screen": {"height": 480, "width": 840},"view_stats":{"comments": 100}}')
But comments won't load still. How to fix that ?
@gorhill
Beta Was this translation helpful? Give feedback.
All reactions