• Before registering an account on PlayerSquared you must first agree that you are at least 13 years of age & have read & agree to our Terms & rules & our Privacy policy.

Admin JS Remove Discord HypeSquad badge

OfficialJesseP's iconOfficialJesseP

It is what it is.
ADMIN
December 10, 2018
550
1,387
49,892,860
1. Open Discord in a browser.
2. Press F12 to Open Developer Tools (F12 or Ctrl+Shift+I on Windows/Linux, Cmd+Option+I on Mac).
3. Copy & paste the code below into the Developer Tools console & hit Enter.
JavaScript:
const req = webpackChunkdiscord_app.push([[Symbol()], {}, r => r]);
webpackChunkdiscord_app.pop();

const findModule = (...needles) => {
  for (const id in req.m) {
    const src = req.m[id]?.toString?.();
    if (src && needles.every(s => src.includes(s))) {
      try { return req(id); } catch {}
    }
  }
  return null;
};

const http = Object.values(findModule("HTTPUtils") ?? {}).find(
  m => ["get", "post", "del"].every(k => typeof m?.[k] === "function")
);

if (!http) {
  console.error("HTTP module not found");
} else {
  http.del({ url: "/hypesquad/online" }).catch?.(console.error);
}
4. Done :)

Use at your own risk: Using this could result in your account being flagged, restricted, or banned.

2EyYXEJ.png
 
  • Like
Reactions: leeen