-
-
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}); |
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
How to enable the console.
https://www.youtube.com/channel/UCo3Dtx4G0yx8y2cw4bQkRrA