Reddit bug workaround to allow posting on the r/userscript subreddit
This userscript addresses a persistent issue with the new Reddit interface that specifically affects the r/userscripts
subreddit. The problem prevents users from accessing the post editor or submitting posts in browser-based versions of Reddit. Instead, users encounter Reddit's "Page not found" error page, even though the URL for the post editor appears to be correct.
The issue has been observed across multiple platforms and browsers, including MacBook, PC, and mobile devices, and persists regardless of the network used (e.g., home Wi-Fi or mobile data). Interestingly, other subreddits are unaffected, and posting via the Reddit mobile app works without issues. It was eventually discovered that switching to the old Reddit interface resolves this problem.
Script Functionality
This userscript modifies the "Create Post" button on the r/userscripts
subreddit to redirect users to the old Reddit interface for creating posts.
This change ensures that users can bypass the problem entirely by using the old interface, where the post editor works as expected.
Once the post is completed using the old interface, the interfaces reverts to the new interface.
Installation
Install a Userscript Manager:
Create a New Script:
Either:
- Open the userscript manager and create a new script.
- Copy and paste the script code into the editor.
Or:
Attempt automatic install
- Save and Enable:
- Save the script and ensure it is active.
The script is currently targeted to the r/userscripts
subreddit at at the moment its the only subreddit with the problem, but new subreddits can quikly be supported by adding the appropriate @match header.