On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles
) which ignores the layout toggle that this script relied on.
If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.
Tip
Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023
- Download version
205.15
of Discord mobile app from ApkMirror - Download ApkMirror's installer to install the downloaded "apk bundle"
- Enjoy :)
- Download and install Vendetta Manager
- Open it
- Tap the settings icon in top right corner
- Go to Advanced, tap on "Check for Discord updates" and set it to "Disabled"
- Go back to settings, then go to "About"
- Tap the version number below the "Vendetta Manager" label a few times until it says "You're now a developer"
- Go back to settings, then go to "Developer only"
- In the text field that says "Discord version" enter this number:
215024
(it's the last version that still has the old channels list in old layout) - Exit out of settings
- Press "Install" on the main screen
- Wait for Vendetta to install, open it once it's finished
- Login to Vendetta with your Discord account like normal
- Go to Settings -> Plugins
- Click the + button, paste this link: https://vd-plugins.github.io/proxy/maisymoe.github.io/strife/Experiments/ and click Install
- Restart the app
- Go to Settings -> Experiments
- Set
Tabs V2 - redesign opt-out for T2
toTreatment 1: show
- Set
Tabs V2 - redesign opt-out/in for all
toNot Eligible
(If your Discord didn't switch back to old layout after this step, go to Settings -> Appearance and flip the "Show New Layout" toggle off)
- Set
Mobile Chat Input Action Menu
toNot Eligible
- If you still have the new layout in user settings, set
You Tab Individual Feature
toNot Eligible
I don't have an iOS device so I don't know much about sideloading or jailbreaking, but I believe you should be able to install Vendetta and follow the same steps as for Android. I think the IPAs for non-jailbroken devices listed there might even be old enough for you to not worry about messing with experiments.
View original gist
How to use this script:
- Go to https://discord.com/app
- Press
Ctrl + Shift + I
to open DevTools - Go to the
Console
tab - Paste the following code and hit enter:
let wpRequire;
window.webpackChunkdiscord_app.push([[ Math.random() ], {}, (req) => { wpRequire = req; }]);
let UserSettingsActions = Object.values(wpRequire.c).find(x => x?.exports?.PreloadedUserSettingsActionCreators).exports;
let ProtobufTypes = Object.values(wpRequire.c).find(x => x?.exports?.BoolValue).exports;
UserSettingsActions.PreloadedUserSettingsActionCreators.updateAsync("appearance", data => {
data.mobileRedesignDisabled = ProtobufTypes.BoolValue.create({value: true})
}, UserSettingsActions.UserSettingsDelay.INFREQUENT_USER_ACTION)
This code requires no changes, preserves all your other appearance settings (such as theme), as well as automatically includes all relevant Discord headers, reducing any risks to minimum.
This emulates flipping the Show New Layout
toggle in appearance settings. Yes the toggle is server-synced for some reason.
Note: This is only a temporary solution. Discord will start ignoring that setting in some future update.
This was inspired by @xeuk's original snippet
Oh sorry, they have pre built apks at their github