Skip to content

discord old ui by idia

Details

Authoridia

LicenseNo License

Categorydiscord

Created

Updated

Code size911 B

Code checksum3e5745bf

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

i hate my stupid baka life

Notes

god i hate discord

Source code

/* ==UserStyle==
@name discord ui change
@namespace discord.com
@version 1.0.0
@description the maverick
@author the maverick
==/UserStyle== */

@-moz-document domain("discord.com") {
	/**
		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)
		More info in the official documentation at Stylus' wiki: 		https://github.com/openstyles/stylus/wiki/Writing-UserCSS
	*/
}

Reviews

No reviews yet.