-
-
Save ExordiumX/540b0ccf093a5ade1986c33aa415a92e to your computer and use it in GitHub Desktop.
Object.defineProperty((webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.isDeveloper!==void 0).exports.default,"isDeveloper",{get:()=>true}); |
@ThePhantomOfTheOpera69 You pasted it too early, wait for the messages that warn you about pasting sometihng.
can't open the console with ctrl+shift+i or f12. would appreciate any kind of help :)
nice
How to enable the console.
very nice :)
Using the original code posted here I wrote up a small guide including the settings.json
changes added as of February 2022: https://gist.github.com/JohannesMP/afdf27383608c3b6f20a6a072d0be93c
for me it works
very nice :)
IT WORKS
JUST FOLLOW THE STEPS
Yeah! It works for me
Can you send the unobfuscated version (the pretty printed) version? I want to see how this code truly works, rather than a shitty webpacked version
Author hasn't responded, so I started to de-obfuscate it myself. Progress so far.
// define a property in an object
Object.defineProperty(
(
// push values to webpackChunkdiscord_app
webpackChunkdiscord_app.push(
[
[''], // empty array??? mfw???
{}, // empty object??? mfw???????
e => { // function
m=[]; // declare m as an array
for(let c in e.c)
m.push(e.c[c])
}
]
),
// finish defining property
m
).find( // in this tuple, find object
m=>m
.exports
.default
.isDeveloper !==void 0
)
.exports
.default,
"isDeveloper",
{get:()=>true}
);
I don't know why they made it one line either, it's a bit weird :/
I don't know why they made it one line either, it's a bit weird :/
Just so it's more tiny
started getting this, I don't know when it started but it is present in Stable 141471 and Canary 140832
Uncaught TypeError: Cannot redefine property: isDeveloper
at Function.defineProperty (<anonymous>)
at <anonymous>:1:8```
I believe it's unsupported now
@Andreytreyy in case you're still looking to get it: https://gist.github.com/JohannesMP/afdf27383608c3b6f20a6a072d0be93c
The last one works
@ThePhantomOfTheOpera69 working fine here, Discord build
Stable 111699 (e8f9fb9)
.Your error message looks like you may have run the command twice. You could try undefining the property first before running it again. If you don't understand the code I would strongly recommend against messing with this stuff...
Edit: see completelyfcked’s reply below